Part Number Hot Search : 
FOD4108V TC2362CT 110ZA1T 2SC44 0521DS R2020 FL208 200117MA
Product Description
Full Text Search
 

To Download AM186CH Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 Am186TMCH
High-Performance, 80C186-Compatible 16-Bit Embedded HDLC Microcontroller
DISTINCTIVE CHARACTERISTICS
s E86TM family of x86 embedded processors offers improved time-to-market - Software migration (backwards- and upwardscompatible) - World-class development tools, applications, and system software s Serial Communications Peripherals - Two High-level Data Link Control (HDLC) channels - Two independent Time Slot Assigners (TSAs) - Physical interface for HDLC channels can be raw DCE or PCM Highway - High-Speed UART with autobaud - UART - Synchronous serial interface (SSI) - SmartDMATM channels (4) to support HDLC s System Peripherals - Three programmable 16-bit timers - Hardware watchdog timer - General-purpose DMA (4 channels) - Programmable I/O (48 PIO signals) - Interrupt Controller (36 maskable interrupts) s Memory and Peripheral Interface - Integrated DRAM controller - Glueless interface to RAM/ROM/Flash memory (55-ns Flash memory required for zero-wait-state operation at 50 MHz) - Fourteen chip selects (8 peripherals, 6 memory) - External bus mastering support - Multiplexed and nonmultiplexed address/data bus - Programmable bus sizing - 8-bit boot option s Available in the following package: - 160-pin plastic quad flat pack (PQFP) - 25-, 40-, and 50-MHz operating frequencies - Low-voltage operation, VCC = 3.3 V 0.3 V - Commercial and industrial temperature rating - 5-V-tolerant I/O (3.3-V output levels)
GENERAL DESCRIPTION
The Am186TMCH HDLC microcontroller is a member of AMD's Comm86TM family of communications-specific microcontrollers. The microcontroller is a derivative of the Am186CC communications controller and is pincompatible with that device. The AM186CH HDLC microcontroller is a costeffective, high-performance microcontroller solution for communications applications. This highly integrated microcontroller enables customers to save system costs and increase perfor mance over 8-bit microcontrollers and other 16-bit microcontrollers. The microcontroller offers the advantages of the x86 development environment's widely available native development tools, applications, and system software. Additionally, the microcontroller uses the industrystandard 186 instruction set that is part of the AMD E86TM family, which continually offers instruction-setcompatible upgrades. Built into the AM186CH HDLC microcontroller is a wide range of communications features required in many communications
(c) Copyright 2000 Advanced Micro Devices, Inc. All rights reserved Publication# 22024 Rev: B Amendment/0 Issue Date: May 2000
applications, including High-level Data Link Control (HDLC). Comprehensive development support is available from AMD and its FusionE86 SM par tners. A customer development platform board is available. AMD and its FusionE86 partners also offer boards, schematics, drivers, protocol stacks, and routing software to enable fast time to market.
ORDERING INFORMATION
AM186CH -50 K C \W LEAD FORMING \W=Trimmed and Formed TEMPERATURE RANGE C= AM186CH Commercial (TC =0C to +100C) I = AM186CH Industrial (TA =-40C to +85C) where: TC = case temperature where: TA = ambient temperature PACKAGE TYPE K=160-Pin Plastic Quad Flat Pack (PQFP) SPEED OPTION -25 = 25 MHz -40 = 40 MHz -50 = 50 MHz DEVICE NUMBER/DESCRIPTION AM186CH high-performance 80C186-compatible 16-bit embedded HDLC microcontroller
Valid Combinations AM186CH-25 AM186CH-40 AM186CH-50 AM186CH-25 AM186CH-40 KI\W KC\W
Valid Combinations Valid combinations list configurations planned to be supported in volume for this device. Consult the local AMD sales office to confirm availability of specific valid combinations and to check on newly released combinations.
2
Am186TMCH HDLC Microcontroller Data Sheet
TABLE OF CONTENTS
Distinctive Characteristics ............................................................................................................ 1 General Description ..................................................................................................................... 1 Ordering Information .................................................................................................................... 2 Table of Contents ........................................................................................................................ 3 List of Figures .............................................................................................................................. 4 List of Tables ............................................................................................................................... 5 Logic Diagram By Interface ......................................................................................................... 6 Logic Diagram By Default Pin Function ....................................................................................... 7 Pin Connection Diagram--160-Pin PQFP Package .................................................................... 8 Pin and Signal Tables .................................................................................................................. 9 Signal Descriptions ............................................................................................................... 12 Architectural Overview ............................................................................................................... 24 Detailed Description .............................................................................................................. 24 Am186TM Embedded CPU .................................................................................................... 25 Memory Organization ............................................................................................................ 25 I/O Space .............................................................................................................................. 25 Serial Communications Support ............................................................................................ 26 Two HDLC Channels and Two TSAs ............................................................................... 26 Four SmartDMATM Channels............................................................................................ 26 Two Asynchronous Serial Ports ....................................................................................... 26 Synchronous Serial Port................................................................................................... 27 System Peripherals ............................................................................................................... 27 Interrupt Controller ........................................................................................................... 27 Four General-Purpose DMA Channels ............................................................................ 27 48 Programmable I/O Signals .......................................................................................... 27 Three Programmable Timers ........................................................................................... 27 Hardware Watchdog Timer .............................................................................................. 28 Memory and Peripheral Interface .......................................................................................... 28 System Interfaces............................................................................................................. 28 DRAM Support ................................................................................................................. 30 Chip Selects ..................................................................................................................... 30 Clock Control ......................................................................................................................... 31 In-Circuit Emulator Support ................................................................................................... 31 Applications ............................................................................................................................... 31 Clock Generation and Control ................................................................................................... 33 Features ................................................................................................................................ 33 System Clock ........................................................................................................................ 33 Crystal-Driven Clock Source ................................................................................................. 34 External Clock Source ........................................................................................................... 35 Static Operation .................................................................................................................... 35 PLL Bypass Mode ................................................................................................................. 35 UART Baud Clock ................................................................................................................. 35 Power Supply Operation ............................................................................................................ 36 Power Supply Connections ................................................................................................... 36 Input/Output Circuitry ............................................................................................................ 36 PIO Supply Current Limit ...................................................................................................... 36 Absolute Maximum Ratings ....................................................................................................... 37 Operating Ranges ...................................................................................................................... 37 DC Characteristics over Commercial and Industrial Operating Ranges .................................... 37 Maximum Load Derating ............................................................................................................ 38 Capacitance ............................................................................................................................... 38 Power Supply Current ................................................................................................................ 38
Am186TMCH HDLC Microcontroller Data Sheet
3
Thermal Characteristics--PQFP Package ................................................................................ 39 Commercial and Industrial Switching Characteristics and Waveforms ...................................... 40 Switching Characteristics over Commercial and Industrial Operating Ranges ......................................47 Appendix A--Pin Tables ............................................................................................................A-1 CPU PLL Modes.............................................................................................................. A-7 Pin List Table Column Definitions ......................................................................................A-10 Appendix B--Physical Dimensions: PQR160, Plastic Quad Flat Pack (PQFP) ........................B-1 Appendix C--Customer Support ...............................................................................................C-1 Related AMD Products--E86TM Family Devices ..................................................................C-1 Related Documents ..............................................................................................................C-2 Am186CC/CH/CU Microcontroller Customer Development Platform ..................................C-2 Third-Party Development Support Products .................................................................................C-2 Customer Service .................................................................................................................C-2 Hotline and World Wide Web Support............................................................................. C-2 Corporate Applications Hotline........................................................................................ C-2 World Wide Web Home Page ......................................................................................... C-3 Documentation and Literature ......................................................................................... C-3 Literature Ordering .......................................................................................................... C-3 Index ................................................................................................................................... Index-1
LIST OF FIGURES
Figure 1. Figure 2. Figure 3. Figure 4. Figure 5. Figure 6. Figure 7. Figure 8. Figure 9. Figure 10. Figure 11. Figure 12. Figure 13. Figure 14. Figure 15. Figure 16. Figure 17. Figure 18. Figure 19. Figure 20. Figure 21. Figure 22. Figure 23. Figure 24. Figure 25. Figure 26. Figure 27. Figure 28. Figure 29. Figure 30. Figure 31. Figure 32. AM186CH Microcontroller Block Diagram ............................................................. 24 Two-Component Address Example ...................................................................... 25 AM186CH Microcontroller Address Bus -- Default Operation .............................. 29 AM186CH Microcontroller--Address Bus Disable In Effect .................................. 29 32-Channel Linecard System Application ............................................................. 32 System Clock Generation ..................................................................................... 33 Suggested System Clock Frequencies, Clock Modes, and Crystal Frequencies . 34 External Interface to Support Clocks--Fundamental Mode Crystal ...................... 34 External Interface to Support Clocks--External Clock Source ............................. 35 UART and High-Speed UART Clocks ................................................................... 35 Typical Icc Versus Frequency ................................................................................ 38 Thermal Resistance(C/Watt) ............................................................................... 39 Thermal Characteristics Equations ....................................................................... 39 Key to Switching Waveforms ................................................................................ 40 Read Cycle Waveforms ........................................................................................ 49 Write Cycle Waveforms ......................................................................................... 52 Software Halt Cycle Waveforms ........................................................................... 53 Peripheral Timing Waveforms ............................................................................... 54 Reset Waveforms .................................................................................................. 55 Signals Related to Reset (System PLL in 1x or 2x Mode) .................................... 56 Signals Related to Reset (System PLL in 4x Mode) ............................................. 56 Synchronous Ready Waveforms ........................................................................... 57 Asynchronous Ready Waveforms ......................................................................... 58 Entering Bus Hold Waveforms .............................................................................. 59 Exiting Bus Hold Waveforms ................................................................................. 60 System Clocks Waveforms--Active Mode (PLL 1x Mode) ................................... 62 PCM Highway Waveforms (Timing Slave) ............................................................ 63 PCM Highway Waveforms (Timing Master) .......................................................... 64 DCE Transmit Waveforms .................................................................................... 65 DCE Receive Waveforms ..................................................................................... 65 SSI Waveforms ..................................................................................................... 66 DRAM Read Cycle without Wait States Waveform ............................................... 68
4
Am186TMCH HDLC Microcontroller Data Sheet
Figure 33. Figure 34. Figure 35. Figure 36.
DRAM Read Cycle with Wait States Waveform .................................................... 68 DRAM Write Cycle without Wait States Waveform ............................................... 69 DRAM Write Cycle with Wait States Waveform .................................................... 69 DRAM Refresh Cycle Waveform ........................................................................... 70
LIST OF TABLES
Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. Table 7. Table 8. Table 9. Table 10. Table 11. Table 12. Table 13. Table 14. Table 15. Table 16. Table 17. Table 18. Table 19. Table 20. Table 21. Table 22. Table 23. Table 24. Table 25. Table 26. Table 27. Table 28. Table 29. Table 30. PQFP Pin Assignments--Sorted by Pin Number .................................................. 10 PQFP Pin Assignments--Sorted by Signal Name ................................................ 11 Signal Descriptions Table Definitions..................................................................... 12 Signal Descriptions ............................................................................................... 13 Segment Register Selection Rules ....................................................................... 26 Crystal Parameters ................................................................................................ 34 Typical Power Consumption Calculation................................................................ 38 Thermal Characteristics (C/Watt) ........................................................................ 39 Alphabetical Key to Switching Parameter Symbols .............................................. 41 Numerical Key to Switching Parameter Symbols .................................................. 44 Read Cycle Timing ................................................................................................ 47 Write Cycle Timing ................................................................................................ 50 Software Halt Cycle Timing ................................................................................... 53 Peripheral Timing ................................................................................................. 54 Reset Timing ......................................................................................................... 55 External Ready Cycle Timing ................................................................................ 57 Bus Hold Timing .................................................................................................... 59 System Clocks Timing ........................................................................................... 61 PCM Highway Timing (Timing Slave) .................................................................. 62 PCM Highway Timing (Timing Master) ................................................................. 64 DCE Interface Timing ........................................................................................... 65 SSI Timing ............................................................................................................. 66 DRAM Timing ........................................................................................................ 67 Power-On Reset (POR) Pin Defaults ...................................................................A-2 Multiplexed Signal Trade-Offs ..............................................................................A-5 Reset Configuration Pins (Pinstraps) ...................................................................A-7 PIOs Sorted by PIO Number ................................................................................A-8 PIOs Sorted by Signal Name ...............................................................................A-9 Pin List Table Definitions.....................................................................................A-10 Pin List Summary ...............................................................................................A-11
Am186TMCH HDLC Microcontroller Data Sheet
5
LOGIC DIAGRAM BY INTERFACE1
CLKOUT RES RESOUT X1 X2
20
Reset/ Clocks
INT8-INT0 NMI LCS MCS3-MCS0 PCS7-PCS0 UCS
9
/
Interrupts
4 8
/ /
Chip Selects
Address and Address/Data Buses
A19-A0 AD15-AD0 ALE ARDY BHE BSIZE8 DEN DS DRQ1-DRQ0 DT/R HLDA HOLD RD S2-S0 S6 SRDY WHB WLB WR
16
CAS0 CAS1 RAS0 RAS1
DRAM Control
AM186CH HDLC Microcontroller
2
/
Bus Status and Control
3
DCE_RXD_A, B DCE_TXD_A, B DCE_RCLK_A, B DCE_TCLK_A, B DCE_CTS_A, B DCE_RTR_A, B PCM_RXD_A, B PCM_TXD_A, B PCM_CLK_A, B PCM_FSC_A, B PCM_TSC_A, B SDEN SCLK SDATA RXD_U TXD_U CTS_U RTR_U RXD_HU TXD_HU CTS_HU RTR_HU UCLK
2 2
/
/
/ / 2 / 2 /
2 2 2
2
DCE Interface (HDLC A-B)1
/
/
/
2 2
/ / 2 /
PCM Interface (HDLC A-B)1
Programmable Timers Debug Programmable I/O (PIO)
2
/ / / /
2
PWD TMRIN1-TMRIN0 TMROUT1-TMROUT0 QS1-QS0 PIO47-PIO0
Synchronous Serial Interface
2
48
Asynchronous Serial Interface (UART)
Configuration Pinstraps
{ADEN} {CLKSEL1} {CLKSEL2} {ONCE} {UCSX8}
High-Speed UART
UART Clock
Notes: 1. Because of multiplexing, not all interfaces are available at once. Refer to Table 25, "Multiplexed Signal Trade-Offs," on page A-5.
6
Am186TMCH HDLC Microcontroller Data Sheet
LOGIC DIAGRAM BY DEFAULT PIN FUNCTION1
Reset/ Clocks
CLKOUT RES RESOUT X1 X2
20 16
DCE_RXD_A [PCM_RXD_A] DCE_TXD_A [PCM_TXD_A] DCE_RCLK_A [PCM_CLK_A] DCE_TCLK_A [PCM_FSC_A] PIO0 [TMRIN1] PIO1 [TMROUT1] PIO2 [PCS5] PIO3 [PCS4] {CLKSEL2} PIO4 [MCS0] {UCSX8} PIO5 [MCS3] [RAS1] PIO6 [INT8] [PWD] PIO7 [INT7] PIO8 [ARDY] PIO9 [DRQ0] PIO10 [SDEN]
HDLC A (DCE)
Address and Address/Data Buses
A19-A0 AD15-AD0 ALE [PIO33] ARDY [PIO8] BHE [PIO34] {ADEN} BSIZE8 DEN [DS] [PIO30] DRQ1 DT/R [PIO29] HLDA {CLKSEL1} HOLD RD S0 S1 S2 S6 SRDY [PIO35] WHB WLB WR [PIO15]
Programmable I/O (PIO)
Bus Status and Control
AM186CH HDLC Microcontroller
PIO11 [SCLK] PIO12 [SDATA] PIO16 [RXD_HU]
Debug High-Speed UART
QS1-QS0 TXD_HU LCS [RAS0] MCS1 [CAS1] MCS2 [CAS0] PCS0 [PIO13] PCS1 [PIO14] PCS2 PCS3 UCS {ONCE}
6
Chip Selects
Interrupts
/
INT5-INT0 NMI RSVD_104 RSVD_103 RSVD_102 RSVD_101 RSVD_81 RSVD_80 RSVD_76 RSVD_75
Reserved
-- -- -- -- -- -- -- --
PIO17 [DCE_CTS_A] [PCM_TSC_A] PIO18 [DCE_RTR_A] PIO19 [INT6] PIO20 [TXD_U] PIO21 [UCLK] PIO22 PIO23 PIO24 [CTS_U] PIO25 [RTR_U] PIO26 [RXD_U] PIO27 [TMRIN0] PIO28 [TMROUT0] PIO31[PCS7] PIO32[PCS6] PIO36 [DCE_RXD_B] [PCM_RXD_B] PIO37 [DCE_TXD_B] [PCM_TXD_B] PIO38 [DCE_CTS_B] [PCM_TSC_B] PIO39 [DCE_RTR_B] PIO40 [DCE_RCLK_B] [PCM_CLK_B] PIO41 [DCE_TCLK_B] [PCM_FSC_B] PIO42 PIO43 PIO44 PIO45 PIO46 [CTS_HU] PIO47 [RTR_HU]
Notes:
1. Pin names in bold indicate the default pin function. Brackets, [ ], indicate alternate, multiplexed functions. Braces, { }, indicate pinstrap pins.
Am186TMCH HDLC Microcontroller Data Sheet
7
PIN CONNECTION DIAGRAM--160-PIN PQFP PACKAGE
VCC TXD_U RXD_U CTS_U RTR_U VSS PIO43 PIO42 PIO44 PIO45 PIO22 PIO23 VCC INT8/PWD INT7 INT6 TMRIN1 TMROUT1 TMRIN0 TMROUT0 VSS DCE_TXD_B/PCM_TXD_B DCE_RXD_B/PCM_RXD_B DCE_CTS_B/PCM_TSC_B DCE_RTR_B DCE_RCLK_B/PCM_CLK_B DCE_TCLKB/PCM_FSC_B VCC UCS {ONCE} LCS/RAS0 VSS MCS3/RAS1 MCS2/CAS0 MCS1/CAS1 MCS0 {UCSX8} VCC DRQ0 DCE_CTS_A/PCM_TSC_A DCE_RTR_A VSS 1 2 3 4 5 6 7 8 9 10 11 12 13 14 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 VSS SDEN SCLK SDATA PCS0 PCS1 PCS2 PCS3 PCS4 {CLKSEL2} PCS5 PCS6 VCC PCS7 ARDY WR DT/R DEN/DS ALE BHE {ADEN} VSS UCLK RTR_HU CTS_HU RXD_HU TXD_HU VCC AD0 AD8 A0 A1 A2 VSS AD1 AD9 A3 A4 AD2 AD10 VCC 15 SRDY
AM186CH HDLC Microcontroller
VCC DCE_TXD_A/PCM_TXD_A DCE_RXD_A/PCM_RXD_A DCE_RCLK_A/PCM_CLK_A DCE_TCLK_A/PCM_FSC_A NMI RES INT5 INT4 INT3 INT2 INT1 VSS INT0 VCC DRQ1 RSVD_104 RSVD_103 RSVD_102 RSVD_101 VSS HOLD HLDA {CLKSEL1} RD WLB WHB BSIZE8 AD15 AD7 VCC A19 A18 A17 AD14 AD6 A16 A15 VSS VSS RSVD_81
120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
8
VSS A5 A6 A7 A8 AD3 AD11 VCC A9 A10 AD4 AD12 VSS S6 S2 S1 S0 RESOUT VCC CLKOUT VSS QS0 QS1 A11 A12 AD5 AD13 VCC A13 A14 VSS VSS_A X1 X2 RSVD_75 RSVD_76 VCC_A VCC VCC RSVD_80
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
Am186TMCH HDLC Microcontroller Data Sheet
PIN AND SIGNAL TABLES
Table 1 on page 10 and Table 2 on page 11 show the pi n s s o r t ed by pi n nu mb e r a nd s i g na l n a me, respectively. Table 4 on page 13 contains the signal descriptions (grouped alphabetically within function). The table includes columns listing the multiplexed functions and I/O type. Table 3 on page 12 defines terms used in Table 4. Refer to Appendix A, "Pin Tables," on page A-1 for an a d d i ti on a l gr o u p o f t a bl e s w i th t h e f o l l ow i n g information: s Power-on reset (POR) pin defaults including pin numbers and multiplexed functions--Table 24 on page A-2. s Multiplexed page A-5. signal trade-offs--Table 25 on s Pinstraps and page A-7. pinstrap options--Table 26 on
s Programmable I/O pins ordered by PIO pin number and multiplexed signal name, respectively, including pin numbers, multiplexed functions, and pin configurations following system reset--Table 27 on page A-8 and Table 28 on page A-9. s Pin and signal summary showing signal name and alternate function, pin number, I/O type, maximum load values, POR default function, reset state, POR default operation, hold state, and voltage--Table 30 on page A-11. In all tables the brackets, [ ], indicate alternate, multiplexed functions, and braces, { }, indicate reset configuration pins (pinstraps). The line over a pin name indicates an active Low. The word pin refers to the physical wire; the word signal refers to the electrical signal that flows through it.
Am186TMCH HDLC Microcontroller Data Sheet
9
Table 1. PQFP Pin Assignments--Sorted by Pin Number1
Pin No. Name--Left Side
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 VSS SDEN/PIO10 SCLK/PIO11 SDATA/PIO12 PCS0/PIO13 PCS1/PIO14 PCS2 PCS3 PCS4/PIO3{CLKSEL2} PCS5/PIO2 PCS6/PIO32 VCC PCS7/PIO31 ARDY/PIO8 SRDY/PIO35 WR/PIO15 DT/R/PIO29 DEN/DS/PIO30 ALE/PIO33 BHE/PIO34{ADEN} VSS UCLK/PIO21 RTR_HU/PIO47 CTS_HU/PIO46 RXD_HU/PIO16 TXD_HU VCC AD0 AD8 A0 A1 A2 VSS AD1 AD9 A3 A4 AD2 AD10 VCC
Pin No. Name--Bottom Side Pin No. Name--Right Side
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 VSS A5 A6 A7 A8 AD3 AD11 VCC A9 A10 AD4 AD12 VSS S6 S2 S1 S0 RESOUT VCC CLKOUT VSS QS0 QS1 A11 A12 AD5 AD13 VCC A13 A14 VSS VSS_A X1 X2 RSVD_75 RSVD_76 VCC_A VCC VCC RSVD_80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 RSVD_81 VSS VSS A15 A16 AD6 AD14 A17 A18 A19 VCC AD7 AD15 BSIZE8 WHB WLB RD HLDA{CLKSEL1} HOLD VSS RSVD_101 RSVD_102 RSVD_103 RSVD_104 DRQ1 VCC INT0 VSS INT1 INT2 INT3 INT4 INT5 RES NMI DCE_TCLK_A/ PCM_FSC_A DCE_RCLK_A/ PCM_CLK_A DCE_RXD_A/ PCM_RXD_A DCE_TXD_A/ PCM_TXD_A VCC
Pin No. Name--Top Side
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 VSS DCE_RTR_A/PIO18 DCE_CTS_A/ PCM_TSC_A/PIO17 DRQ0/PIO9 VCC MCS0/PIO4{UCSX8} MCS1/CAS1 MCS2/CAS0 MCS3/RAS1/PIO5 VSS LCS/RAS0 UCS{ONCE} VCC DCE_TCLK_B/ PCM_FSC_B/PIO41 DCE_RCLK_B/ PCM_CLK_B/PIO40 DCE_RTR_B/PIO39 DCE_CTS_B/ PCM_TSC_B/PIO38 DCE_RXD_B/ PCM_RXD_B/PIO36 DCE_TXD_B/ PCM_TXD_B/PIO37 VSS TMROUT0/PIO28 TMRIN0/PIO27 TMROUT1/PIO1 TMRIN1/PIO0 INT6/PIO19 INT7/PIO7 INT8/PWD/PIO6 VCC PIO23 PIO22 PIO45 PIO44 PIO42 PIO43 VSS RTR_U/PIO25 CTS_U/PIO24 RXD_U/PIO26 TXD_U/PIO20 VCC
Notes: 1. SeeTable 27, "PIOs Sorted by PIO Number," on page A-8 for PIOs sorted by PIO number.
10
Am186TMCH HDLC Microcontroller Data Sheet
Table 2. PQFP Pin Assignments--Sorted by Signal Name 1
Signal Name
A0 A1 A10 A11 A12 A13 A14 A15 A16 A17 A18 A19 A2 A3 A4 A5 A6 A7 A8 A9 AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7 AD8 AD9 AD10 AD11 AD12 AD13 AD14 AD15 ALE/PIO33 ARDY/PIO8 BHE/PIO34{ADEN} BSIZE8
Pin No. Signal Name
30 31 50 64 65 69 70 84 85 88 89 90 32 36 37 42 43 44 45 49 28 34 38 46 51 66 86 92 29 35 39 47 52 67 87 93 19 14 20 94 CLKOUT CTS_HU/PIO46 CTS_U/PIO24 DCE_CTS_A/ PCM_TSC_A/PIO17 DCE_CTS_B/ PCM_TSC_B/PIO38 DCE_RCLK_A/ PCM_CLK_A DCE_RCLK_B/ PCM_CLK_B/PIO40 DCE_RTR_A/PIO18 DCE_RTR_B/PIO39 DCE_RXD_A/PCM_RXD_A DCE_RXD_B/ PCM_RXD_B/PIO36 DCE_TCLK_A/ PCM_FSC_A DCE_TCLK_B/ PCM_FSC_B/PIO41 DCE_TXD_A/PCM_TXD_A DCE_TXD_B/ PCM_TXD_B/PIO37 DEN/DS/PIO30 DRQ0/PIO9 DRQ1 DT/R/PIO29 HLDA{CLKSEL1} HOLD INT0 INT1 INT2 INT3 INT4 INT5 INT6/PIO19 INT7/PIO7 INT8/PWD/PIO6 LCS/RAS0 MCS0/PIO4{UCSX8} MCS1/CAS1 MCS2/CAS0 MCS3/RAS1/PIO5 NMI PCS0/PIO13 PCS1/PIO14 PCS2 PCS3
Pin No.
60 24 157 123 137 117 135 122 136 118 138 116 134 119 139 18 124 105 17 98 99 107 109 110 111 112 113 145 146 147 131 126 127 128 129 115 5 6 7 8
Signal Name
PCS4/PIO3{CLKSEL2} PCS5/PIO2 PCS6/PIO32 PCS7/PIO31 PIO22 PIO23 PIO42 PIO43 PIO44 PIO45 QS0 QS1 RD RES RESOUT RSVD_75 RSVD_76 RSVD_80 RSVD_81 RSVD_101 RSVD_102 RSVD_103 RSVD_104 RTR_HU/PIO47 RTR_U/PIO25 RXD_HU/PIO16 RXD_U/PIO26 S0 S1 S2 S6 SCLK/PIO11 SDATA/PIO12 SDEN/PIO10 SRDY/PIO35 TMRIN0/PIO27 TMRIN1/PIO0 TMROUT0/PIO28 TMROUT1/PIO1 TXD_HU
Pin No. Signal Name
9 10 11 13 150 149 153 154 152 151 62 63 97 114 58 75 76 80 81 101 102 103 104 23 156 25 158 57 56 55 54 3 4 2 15 142 144 141 143 26 TXD_U/PIO20 UCLK/PIO21 UCS {ONCE} VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC_A VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS_A WHB WLB WR/PIO15 X1 X2
Pin No.
159 22 132 12 27 40 48 59 68 78 91 106 120 125 133 148 160 79 77 1 21 33 41 53 61 71 83 100 108 121 130 140 155 82 72 95 96 16 73 74
Notes: 1. See Table 27, "PIOs Sorted by PIO Number," on page A-8 for PIOs sorted by signal name.
Am186TMCH HDLC Microcontroller Data Sheet
11
Signal Descriptions
Table 4 on page 13 contains a description of the AM186CH HDLC microcontroller signals. Table 3 describes the terms used in Table 4. The signals are organized alphabetically within the following functional groups: s Bus interface/general-purpose DMA request (page 13) s Clocks/reset/watchdog timer (page 17) s Reserved (page 18) s Power and ground (page 18) s Debug support (page 18) s Chip selects (page 19) s DRAM (page 19) s Interrupts (page 20) s Programmable I/O (PIOs) (page 21) s Programmable timers (page 21) s Asynchronous serial ports (UART and High-Speed UART) (page 21) s Synchronous serial interface (SSI) (page 22) s HDLC synchronous communication interfaces: channels A and B for Data Communications Equipment (DCE) and Pulse-Code Modulation (PCM) interfaces (page 22) For pinstraps refer to Table 26, "Reset Configuration Pins (Pinstraps)," on page A-7.
Table 3.
Term []
Signal Descriptions Table Definitions
Definition Indicates the pin alternate function; a pin defaults to the signal named without the brackets. Indicates the reset configuration pin (pinstrap). Refers to the physical wire. An external or power-on reset is caused by asserting RES. An internal reset is initiated by the watchdog timer. A system reset is one that resets the AM186CH HDLC microcontroller (the CPU plus the internal peripherals) as well as any external peripherals connected to RESOUT. An external reset always causes a system reset; an internal reset can optionally cause a system reset. Refers to the electrical signal that flows across a pin. A line over a signal name indicates that the signal is active Low; a signal name without a line is active High. Bidirectional High Programmable to hold last state of pin Totem pole output Open drain output Open drain output or totem pole output Internal pulldown resistor Internal pullup resistor Schmitt trigger input Schmitt trigger input or open drain output Three-state output
General terms
{} pin reset
signal SIGNAL
Signal types B H LS O OD OD-O PD PU STI STI-OD TS
12
Am186TMCH HDLC Microcontroller Data Sheet
Table 4.
Signal Name Multiplexed Signal(s) --
Signal Descriptions
Type Description
BUS INTERFACE/GENERAL-PURPOSE DMA REQUEST A19-A0 O Address Bus supplies nonmultiplexed memory or I/O addresses to the system one half of a CLKOUT period earlier than the multiplexed address and data bus (AD15-AD0). During bus-hold or reset conditions, the address bus is threestated with pulldowns. When the lower or upper chip-select regions are configured for DRAM mode, the A19-A0 bus provides the row and column addresses at the appropriate times. The upper and lower memory chip-select ranges can be individually configured for DRAM mode. AD15-AD0 -- B Address and Data Bus time-multiplexed pins supply memory or I/O addresses and data to the system. This bus can supply an address to the system during the first period of a bus cycle (t1). It transmits (write cycle) or receives (read cycle) data to or from the system during the remaining periods of that cycle (t2, t3, and t4). The address phase of these pins can be disabled--see the {ADEN} pin description in Table 26, "Reset Configuration Pins (Pinstraps)," on page A-7. During a reset condition, the address and data bus is three-stated with pulldowns, and during a bus hold it is three-stated. In addition, during a reset the state of the address and data bus pins (AD15- AD0) is latched into the Reset Configuration (RESCON) register. This feature can be used to provide software with information about the external system at reset time. ALE [PIO33] O Address Latch Enable indicates to the system that an address appears on the address and data bus (AD15-AD0). The address is guaranteed valid on the falling edge of ALE. ALE is three-stated and has a pulldown resistor during bus-hold or reset conditions. ARDY [PIO8] STI Asynchronous Ready is a true asynchronous ready that indicates to the microcontroller that the addressed memory space or I/O device will complete a data transfer. The ARDY pin is asynchronous to CLKOUT and is active High. To guarantee the number of wait states inserted, ARDY or SRDY must be synchronized to CLKOUT. If the falling edge of ARDY is not synchronized to CLKOUT as specified, an additional clock period can be added. To always assert the ready condition to the microcontroller, tie ARDY and SRDY High. If the system does not use ARDY, tie the pin Low to yield control to SRDY.
Am186TMCH HDLC Microcontroller Data Sheet
13
Table 4. Signal Descriptions (Continued)
Signal Name BHE Multiplexed Signal(s) [PIO34] {ADEN} Type Description O Bus High Enable: During a memory access, BHE and the least-significant address bit (AD0) indicate to the system which bytes of the data bus (upper, lower, or both) participate in a bus cycle. The BHE and AD0 pins are encoded as follows: Data Byte Encoding BHE 0 0 1 1 AD0 0 1 0 1 Type of Bus Cycle Word transfer High byte transfer (bits 15-8) Low byte transfer (bits 7-0) Refresh
BHE is asserted during t1 and remains asserted through t3 and tW. BHE does not require latching. BHE is three-stated with a pullup during bus-hold and reset conditions. WLB and WHB implement the functionality of BHE and AD0 for high and low byte write enables, and they have timing appropriate for use with the nonmultiplexed bus interface. BHE also signals DRAM refresh cycles when using the multiplexed address and data (AD) bus. A refresh cycle is indicated when both BHE and AD0 are High. During refresh cycles, the AD bus is driven during the t1 phase and three-stated during the t2, t3, and t4 phases. The value driven on the A bus is undefined during a refresh cycle. For this reason, the A0 signal cannot be used in place of the AD0 signal to determine refresh cycles. BSIZE8 DEN [DS] [PIO30] -- O O Bus Size 8 is asserted during t1-t4 to indicate an 8-bit cycle, or is deasserted to indicate a 16-bit cycle. Data Enable supplies an output enable to an external data-bus transceiver. DEN is asserted during memory and I/O cycles. DEN is deasserted when DT/R changes state. DEN is three-stated with a pullup during bus-hold or reset conditions. DMA Requests 0 and 1 indicate to the microcontroller that an external device is ready for a DMA channel to perform a transfer. DRQ1-[DRQ0] are leveltriggered and internally synchronized. DRQ1-[DRQ0] are not latched and must remain active until serviced. Data Strobe provides a signal where the write cycle timing is identical to the read cycle timing. When used with other control signals, [DS] provides an interface for 68K-type peripherals without the need for additional system interface logic. When [DS] is asserted, addresses are valid. When [DS] is asserted on writes, data is valid. When [DS] is asserted on reads, data can be driven on the AD bus. Following a reset, this pin is configured as DEN. The pin is then configured by software to operate as [DS]. DT/R [PIO29] O Data Transmit or Receive indicates which direction data should flow through an external data-bus transceiver. When DT/R is asserted High, the microcontroller transmits data. When this pin is deasserted Low, the microcontroller receives data. DT/R is three-stated with a pullup during a bus-hold or reset condition.
[DRQ0] DRQ1 [DS]
PIO9 -- DEN [PIO30]
STI STI O
14
Am186TMCH HDLC Microcontroller Data Sheet
Table 4. Signal Descriptions (Continued)
Signal Name HLDA Multiplexed Signal(s) {CLKSEL1} Type Description O Bus-Hold Acknowledge is asserted to indicate to an external bus master that the microcontroller has relinquished control of the local bus. When an external bus master requests control of the local bus (by asserting HOLD), the microcontroller completes the bus cycle in progress, then relinquishes control of the bus to the external bus master by asserting HLDA and three-stating S2-S0, AD15-AD0, S6, and A19-A0. The following are also three-stated and have pullups: UCS, LCS, MCS3-MCS0, PCS7-PCS0, DEN, RD, WR, BHE, WHB, WLB, and DT/R. ALE is three-stated and has a pulldown. When the external bus master has finished using the local bus, it indicates this to the microcontroller by deasserting HOLD. The microcontroller responds by deasserting HLDA. If the microcontroller requires access to the bus (for example, for refresh), the microcontroller deasserts HLDA before the external bus master deasserts HOLD. The external bus master must be able to deassert HOLD and allow the microcontroller access to the bus. See the timing diagrams for bus hold on page 59. HOLD -- STI Bus-Hold Request indicates to the microcontroller that an external bus master needs control of the local bus. The microcontroller HOLD latency time--the time between HOLD request and HOLD acknowledge--is a function of the activity occurring in the processor when the HOLD request is received. A HOLD request is second only to DRAM refresh requests in priority of activity requests received by the processor. This implies that if a HOLD request is received just as a DMA transfer begins, the HOLD latency can be as great as four bus cycles. This occurs if a DMA word transfer operation is taking place from an odd address to an odd address. This is a total of 16 clock cycles or more if wait states are required. In addition, if locked transfers are performed, the HOLD latency time is increased by the length of the locked transfer. HOLD latency is also potentially increased by DRAM refreshes. The board designer is responsible for properly terminating the HOLD input. For more information, see the HLDA pin description above. RD -- O Read Strobe indicates to the system that the microcontroller is performing a memory or I/O read cycle. RD is guaranteed not to be asserted before the address and data bus is three-stated during the address-to-data transition. RD is three-stated with a pullup during bus-hold or reset conditions.
Am186TMCH HDLC Microcontroller Data Sheet
15
Table 4. Signal Descriptions (Continued)
Signal Name S0 S1 S2 Multiplexed Signal(s) -- -- -- Bus Status Pins S2 0 0 0 0 1 1 1 1 S1 0 0 1 1 0 0 1 1 S0 0 1 0 1 0 1 0 1 Bus Cycle Reserved Read data from I/O Write data to I/O Halt Instruction fetch Read data from memory Write data to memory None (passive) Type Description O Bus Cycle Status 2-0 indicate to the system the type of bus cycle in progress. S2 can be used as a logical memory or I/O indicator, and S1 can be used as a data transmit or receive indicator. S2-S0 are three-stated during bus hold and three-stated with a pullup during reset. The S2-S0 pins are encoded as follows:
S6
--
O
Bus Cycle Status Bit 6: This signal is asserted during t 1-t4 to indicate a DMAinitiated bus cycle or a refresh cycle. S6 is three-stated during bus hold and three-stated with a pulldown during reset. Synchronous Ready indicates to the microcontroller that the addressed memory space or I/O device will complete a data transfer. The SRDY pin accepts an active High input synchronized to CLKOUT. Using SRDY instead of ARDY allows a relaxed system timing because of the elimination of the one-half clock period required to internally synchronize ARDY. To always assert the ready condition to the microcontroller, tie SRDY High. If the system does not use SRDY, tie the pin Low to yield control to ARDY.
SRDY
[PIO35]
STI
WHB WLB
-- --
O O
Write High Byte and Write Low Byte indicate to the system which bytes of the data bus (upper, lower, or both) participate in a write cycle. In 80C186 microcontroller designs, this information is provided by BHE, AD0, and WR. However, by using WHB and WLB, the standard system interface logic and external address latch that were required are eliminated. WHB is asserted with AD15-AD8. WHB is the logical AND of BHE and WR. This pin is three-stated with a pullup during bus-hold or reset conditions. WLB is asserted with AD7-AD0. WLB is the logical AND of AD0 and WR. This pin is three-stated with a pullup during bus-hold or reset conditions.
WR
[PIO15]
O
Write Strobe indicates to the system that the data on the bus is to be written to a memory or I/O device. WR is three-stated with a pullup during bus-hold or reset conditions.
16
Am186TMCH HDLC Microcontroller Data Sheet
Table 4. Signal Descriptions (Continued)
Signal Name Multiplexed Signal(s) -- Type Description
CLOCKS/RESET/WATCHDOG TIMER CLKOUT O Clock Output supplies the clock to the system. Depending on the values of the CPU mode select pinstraps, {CLKSEL1} and {CLKSEL2}, CLKOUT operates at either the PLL frequency or the source input frequency during PLL Bypass mode. (See Table 26, "Reset Configuration Pins (Pinstraps)," on page A-7.) CLKOUT remains active during bus-hold or reset conditions. The DISCLK bit in the SYSCON register can be set to disable the CLKOUT signal. Refer to the Am186TMCC/CH/CU Microcontrollers Register Set Manual, order #21916. All synchronous AC timing specifications not associated with SSI, HDLCs, and UARTs are synchronous to CLKOUT. RES -- STI Reset requires the microcontroller to perform a reset. When RES is asserted, the microcontroller immediately terminates its present activity, clears its internal logic, and on the deassertion of RES, transfers CPU control to the reset address FFFF0h. RES must be asserted for at least 1 ms to allow the internal circuits to stabilize. RES can be asserted asynchronously to CLKOUT because RES is synchronized internally. For proper initialization, VCC must be within specifications, and CLKOUT must be stable for more than four CLKOUT periods during which RES is asserted. If RES is asserted while the watchdog timer is performing a watchdog-timer reset, the external reset takes precedence over the watchdog-timer reset. This means that the RESOUT signal asserts as with any external reset and the WDTCON register will not have the RSTFLAG bit set. In addition, the microcontroller will exit reset based on the external reset timing (i.e., 4.5 clocks after the deassertion of RES rather than 216 clocks after the watchdog timer timeout occurred). The microcontroller begins fetching instructions approximately 6.5 CLKOUT periods after RES is deasserted. This input is provided with a Schmitt trigger to facilitate power-on RES generation via a resistor-capacitor (RC) network. RESOUT -- O Reset Out indicates that the microcontroller is being reset (either externally or internally), and the signal can be used as a system reset to reset any external peripherals connected to RESOUT. During an external reset, RESOUT remains active (High) for two clocks after RES is deasserted. The microcontroller exits reset and begins the first valid bus cycle approximately 4.5 clocks after RES is deasserted. [UCLK] PIO21 STI UART Clock can be used instead of the processor clock as the source clock for either the UART or the High-Speed UART. The source clock for the UART and the High-Speed UART are selected independently and both can use the same source. CPU Crystal Input (X1) and CPU Crystal Output (X2) provide connections for a fundamental mode, parallel-resonant crystal used by the internal oscillator circuit. If an external oscillator is used, inject the signal directly into X1 and leave X2 floating.
X1 X2
-- --
STI O
Am186TMCH HDLC Microcontroller Data Sheet
17
Table 4. Signal Descriptions (Continued)
Signal Name Multiplexed Signal(s) Type Description
PINSTRAPS (See Table 26, "Reset Configuration Pins (Pinstraps)," on page A-7.) RESERVED RSVD_101 RSVD_102 RSVD_103 RSVD_104 RSVD_75 RSVD_76 RSVD_80 RSVD_81 POWER AND GROUND VCC (16) VCC _A (1) VSS (16) VSS _A (1) DEBUG SUPPORT QS0 QS1 -- -- O O Queue Status 1-0 values provide information to the system concerning the interaction of the CPU and the instruction queue. The pins have the following meanings: Queue Status Pins QS1 QS0 Queue Operation 0 0 1 1 0 1 0 1 None First opcode byte fetched from queue Queue was initialized Subsequent byte fetched from queue -- -- -- -- STI STI STI STI Digital Power Supply pins supply power (+3.3 0.3 V) to the AM186CH HDLC microcontroller logic. Analog Power Supply pin supplies power (+3.3 0.3 V) to the oscillators and PLLs. Digital Ground pins connect the AM186CH HDLC microcontroller logic to the system ground. Analog Ground pin connects the oscillators and PLLs to the system ground. -- -- -- -- -- -- -- -- The pins RSVD_104-RSVD_101, RSVD_75, RSVD_76, RSVD_80, and RSVD_81 are reserved. The RSVD_75 pin should be tied externally to VSS. All other seven reserved pins should not be connected.
The following signals are also used by emulators: A19-A0, AD15-AD0, {ADEN}, ALE, ARDY, BHE, BSIZE8, CAS1-CAS0, CLKOUT, {CLKSEL2-CLKSEL1}, HLDA, HOLD, LCS, MCS3-MCS0, NMI, {ONCE}, QS1-QS0, RAS1-RAS0, RD, RES, RESOUT, S2-S0, S6, SRDY, UCS, {UCSX8}, WHB, WLB, WR. See the Am186CC/CH/CU Microcontrollers User's Manual, order #21914, for more information.
18
Am186TMCH HDLC Microcontroller Data Sheet
Table 4. Signal Descriptions (Continued)
Signal Name CHIP SELECTS LCS [RAS0] O Lower Memory Chip Select indicates to the system that a memory access is in progress to the lower memory block. The base address and size of the lower memory block are programmable up to 512 Kbyte. LCS can be configured for 8bit or 16-bit bus size. LCS is three-stated with a pullup resistor during bus-hold or reset conditions. Midrange Memory Chip Selects 3-0 indicate to the system that a memory access is in progress to the corresponding region of the midrange memory block. The base address and size of the midrange memory block are programmable. The midrange chip selects can be configured for 8-bit or 16-bit bus size. The midrange chip selects are three-stated with pullup resistors during bus-hold or reset conditions. [MCS0] can be programmed as the chip select for the entire middle chip select address range. Unlike the UCS and LCS chip selects that operate relative to the earlier timing of the nonmultiplexed A address bus, the MCS outputs assert with the multiplexed AD address and data bus timing. PCS0 PCS1 PCS2 PCS3 [PCS4] [PIO13] [PIO14] -- -- PIO3 {CLKSEL2} PIO2 PIO32 PIO31 {ONCE} O Upper Memory Chip Select indicates to the system that a memory access is in progress to the upper memory block. The base address and size of the upper memory block are programmable up to 512 Kbytes. UCS is three-stated with a weak pullup during bus-hold or reset conditions. The UCS can be configured for an 8-bit or 16-bit bus size out of reset. For additional information, see the {UCSX8} pin description in Table 26, "Reset Configuration Pins (Pinstraps)," on page A-7. After reset, UCS is active for the 64-Kbyte memory range from F0000h to FFFFFh, including the reset address of FFFF0h. DRAM [CAS0] [CAS1] MCS2 MCS1 O Column Address Strobes 1-0: When either the upper or lower chip select regions are configured for DRAM, these pins provide the column address strobe signals to the DRAM. The CAS signals can be used to perform byte writes in a manner similar to WLB and WHB, respectively (i.e., [CAS0] corresponds to the low byte (WLB) and [CAS1] corresponds to the high byte (WHB)). Row Address Strobe 0: When the lower chip select region is configured to DRAM, this pin provides the row address strobe signal to the lower DRAM bank. Row Address Strobe 1: When the upper chip select region is configured to DRAM, this pin provides the row address strobe signal to the upper DRAM bank. O Peripheral Chip Selects 7-0 indicate to the system that an access is in progress to the corresponding region of the peripheral address block (either I/O or memory address space). The base address of the peripheral address block is programmable. PCS7-PCS0 are three-stated with pullup resistors during bushold or reset conditions. Unlike the UCS and LCS chip selects that operate relative to the earlier timing of the nonmultiplexed A address bus, the PCS outputs assert with the multiplexed AD address and data bus timing. Multiplexed Signal(s) Type Description
[MCS0]
{UCSX8} PIO4 [CAS1] [CAS0] [RAS1] PIO5
O
MCS1 MCS2 [MCS3]
[PCS5] [PCS6] [PCS7] UCS
[RAS0] [RAS1]
LCS [MCS3] PIO5
O O
Am186TMCH HDLC Microcontroller Data Sheet
19
Table 4. Signal Descriptions (Continued)
Signal Name INTERRUPTS NMI -- STI Nonmaskable Interrupt indicates to the microcontroller that an interrupt request has occurred. The NMI signal is the highest priority hardware interrupt and cannot be masked. The microcontroller always transfers program execution to the location specified by the nonmaskable interrupt vector in the microcontroller's interrupt vector table when NMI is asserted. Although NMI is the highest priority hardware interrupt source, it does not participate in the priority resolution process of the maskable interrupts. There is no bit associated with NMI in the interrupt in-service or interrupt request registers. This means that a new NMI request can interrupt an executing NMI interrupt service routine. As with all hardware interrupts, the interrupt flag (IF) is cleared when the processor takes the interrupt, disabling the maskable interrupt sources. However, if maskable interrupts are re-enabled by software in the NMI interrupt service routine (for example, via the STI instruction), the fact that an NMI is currently in service does not have any effect on the priority resolution of maskable interrupt requests. For this reason, it is strongly advised that the interrupt service routine for NMI should not enable the maskable interrupts. An NMI transition from Low to High is latched and synchronized internally, and it initiates the interrupt at the next instruction boundary. To guarantee that the interrupt is recognized, the NMI pin must be asserted for at least one CLKOUT period. The board designer is responsible for properly terminating the NMI input. INT5-INT0 [INT6] [INT7] [INT8] PIO19 PIO7 [PWD] PIO6 -- STI STI STI STI Interrupt requests are synchronized internally and can be edge-triggered or level-triggered. The interrupt polarity is programmable.To guarantee interrupt recognition for edge-triggered interrupts, the user should hold the interrupt source for a minimum of five system clocks. A second interrupt from the same source is not recognized until after an acknowledge of the first. The board designer is responsible for properly terminating the INT8-INT0 inputs. Also configurable as interrupts are PIO5, PIO15, PIO27, PIO29, PIO30, PIO33, PIO34, and PIO35. (See the Am186CC/CH/CU Microcontrollers User's Manual, order #21914 for more information.) Maskable Interrupt Requests 8-0 indicate to the microcontroller that an external interrupt request has occurred. If the individual pin is not masked, the microcontroller transfers program execution to the location specified by the associated interrupt vector in the microcontroller's interrupt vector table. Multiplexed Signal(s) Type Description
20
Am186TMCH HDLC Microcontroller Data Sheet
Table 4. Signal Descriptions (Continued)
Signal Name Multiplexed Signal(s) (For multiplexed signals see Table 27, "PIOs Sorted by PIO Number," on page A-8 and Table 28, "PIOs Sorted by Signal Name," on page A-9.) Type Description
PROGRAMMABLE I/O (PIOS) PIO47-PIO0 B Shared Programmable I/O pins can be programmed with the following attributes: PIO function (enabled/disabled), direction (input/output), and weak pullup or pulldown. After a reset, the PIO pins default to various configurations. The column entitled "Pin Configuration Following System Reset" in Table 27 on page A-8 and Table 28 on page A-9 lists the defaults for the PIOs. Most of the PIO pins are configured as PIO inputs with pullup after reset. See Table 30 on page A-11 for detailed termination information for all pins. The system initialization code must reconfigure any PIO pins as required. PIO5, PIO15, PIO27, PIO29, PIO30, and PIO33-PIO35 are capable of generating an interrupt on the shared interrupt channel 14. The multiplexed signals PIO33/ALE, PIO8/ARDY, PIO34/BHE, PIO30/DEN, PIO29/DT/R, PIO14/PCS1-PIO13/PCS0, PIO35/SRDY, and PIO15/WR default to non-PIO operation at reset. The following PIO signals are multiplexed with alternate signals that can be used by emulators: PIO8, PIO15, PIO33, PIO34, and PIO35. Consider any emulator requirements for the alternate signals before using these pins as PIOs. PROGRAMMABLE TIMERS [PWD] [INT8] PIO6 STI Pulse-Width Demodulator: If pulse-width demodulation is enabled, [PWD] processes a signal through the Schmitt trigger input. [PWD] is used internally to drive [TMRIN0] and [INT8], and [PWD] is inverted internally to drive [TMRIN1] and an additional internal interrupt. If interrupts are enabled and Timer 0 and Timer 1 are properly configured, the pulse width of the alternating [PWD] signal can be calculated by comparing the values in Timer 0 and Timer 1. In PWD mode, the signals [TMRIN0]/PIO27 and [TMRIN1]/PIO0 can be used as PIOs. If they are not used as PIOs they are ignored internally. The additional internal interrupt used in PWD mode uses the same interrupt channel as [INT7]. If [INT7] is used, it must be assigned to the shared interrupt channel. [TMRIN0] [TMRIN1] PIO27 PIO0 STI STI Timer Inputs 1-0 supply a clock or control signal to the internal microcontroller timers. After internally synchronizing a Low-to-High transition on [TMRIN1]- [TMRIN0], the microcontroller increments the timer. [TMRIN1]-[TMRIN0] must be tied High if not being used. When PIO is enabled for one or both, the pin is pulled High internally. [TMRIN1]-[TMRIN0] are driven internally by [INT8]/[PWD] when pulse-width demodulation functionality is enabled. The [TMRIN1]-[TMRIN0] pins can be used as PIOs when pulse-width demodulation is enabled. [TMROUT0] [TMROUT1] UART [RXD_U] [TXD_U] PIO26 PIO20 STI O Receive Data UART is the asynchronous serial receive data signal that supplies data from the asynchronous serial port to the microcontroller. Transmit Data UART is the asynchronous serial transmit data signal that supplies data to the asynchronous serial port from the microcontroller. PIO28 PIO1 O O Timer Outputs 1-0 supply the system with either a single pulse or a continuous waveform with a programmable duty cycle. [TMROUT1]-[TMROUT0] are threestated during bus-hold or reset conditions.
ASYNCHRONOUS SERIAL PORTS (UART AND HIGH-SPEED UART)
Am186TMCH HDLC Microcontroller Data Sheet
21
Table 4. Signal Descriptions (Continued)
Signal Name [CTS_U] Multiplexed Signal(s) PIO24 Type Description STI Clear-To-Send UART provides the Clear-to-Send signal from the asynchronous serial port when hardware flow control is enabled for the port. The [CTS_U] signal gates the transmission of data from the serial port transmit shift register. When [CTS_U] is asserted, the transmitter begins transmission of a frame of data, if any is available. If [CTS_U] is deasserted, the transmitter holds the data in the serial port transmit shift register. The value of [CTS_U] is checked only at the beginning of the transmission of the frame. [CTS_U] and [RTR_U] form the hardware handshaking interface for the UART. Ready-To-Receive UART provides the Ready-to-Receive signal for the asynchronous serial port when hardware flow control is enabled for the port. The [RTR_U] signal is asserted when the associated serial port receive data register does not contain valid, unread data. [CTS_U] and [RTR_U] form the hardware handshaking interface for the UART. Receive Data High-Speed UART is the asynchronous serial receive data signal that supplies data from the high-speed serial port to the microcontroller. Transmit Data High-Speed UART is the asynchronous serial transmit data signal that supplies data to the high-speed serial port from the microcontroller. Clear-To-Send High-Speed UART provides the Clear-to-Send signal from the high-speed asynchronous serial port when hardware flow control is enabled for the port. The [CTS_HU] signal gates the transmission of data from the serial port transmit shift register. When [CTS_HU] is asserted, the transmitter begins transmission of a frame of data, if any is available. If [CTS_HU] is deasserted, the transmitter holds the data in the serial port transmit shift register. The value of [CTS_HU] is checked only at the beginning of the transmission of the frame. [CTS_HU] and [RTR_HU] form the hardware handshaking interface for the HighSpeed UART. Ready-To-Receive High-Speed UART provides the Ready-to-Receive signal to the high-speed asynchronous serial port when hardware flow control is enabled for the port. The [RTR_HU] signal is asserted when the associated serial port receive data register does not contain valid, unread data. [CTS_HU] and [RTR_HU] form the hardware handshaking interface for the High-Speed UART. Serial Clock provides the clock for the synchronous serial interface to allow synchronous transfers between the microcontroller and a slave device. Serial Data is used to transmit and receive data between the microcontroller and a slave device on the synchronous serial interface. Serial Data Enable enables data transfers on the synchronous serial interface.
[RTR_U]
PIO25
O
HIGH-SPEED UART [RXD_HU] TXD_HU [CTS_HU] PIO46 PIO16 -- STI O STI
[RTR_HU]
PIO47
O
SYNCHRONOUS SERIAL INTERFACE (SSI) [SCLK] [SDATA] [SDEN] PIO11 PIO12 PIO10 O B O
HIGH-LEVEL DATA LINK CONTROL SYNCHRONOUS COMMUNICATION INTERFACES HDLC Channel A (DCE) DCE_RXD_A DCE_TXD_A DCE_RCLK_A [PCM_RXD_A] [PCM_TXD_A] [PCM_CLK_A] STI DCE Receive Data Channel A is the serial data input pin for the channel A DCE interface.
OD-O DCE Transmit Data Channel A is the serial data output pin for the channel A DCE interface. STI DCE Receive Clock Channel A provides the receive clock to the channel A DCE interface. If the same clock is to be used for both transmit and receive, then this pin should be tied to the DCE_TCLK_A pin externally. The DCE function is the default at reset, so the board designer is responsible for properly terminating the DCE_RCLK_A input.
22
Am186TMCH HDLC Microcontroller Data Sheet
Table 4. Signal Descriptions (Continued)
Signal Name DCE_TCLK_A Multiplexed Signal(s) [PCM_FSC_A] Type Description STI DCE Transmit Clock Channel A provides the transmit clock to the channel A DCE interface. If the same clock is to be used for both transmit and receive, then this pin should be tied to the DCE_RCLK_A pin externally. The DCE function is the default at reset, so the board designer is responsible for properly terminating the DCE_TCLK_A input. [DCE_CTS_A] [PCM_TSC_A] PIO17 PIO18 STI DCE Clear-To-Send Channel A indicates to the channel A DCE interface that an external serial interface is ready to receive data. [DCE_CTS_A] and [DCE_RTR_A] provide the handshaking for the channel A DCE interface. DCE Ready-to-Receive Channel A indicates to an external serial interface that the internal channel A DCE interface is ready to accept data. [DCE_CTS_A] and [DCE_RTR_A] provide the handshaking for the channel A DCE interface. DCE Receive Data Channel B is the serial data input pin for the channel B DCE interface. DCE Transmit Data Channel B is the serial data output pin for the channel B DCE interface. DCE Receive Clock Channel B provides the receive clock to the channel B DCE interface. If the same clock is to be used for both transmit and receive, this pin should be tied to the [DCE_TCLK_B] pin externally. DCE Transmit Clock Channel B provides the transmit clock to the channel B DCE interface. If the same clock is to be used for both transmit and receive, this pin should be tied to the [DCE_RCLK_B] pin externally. DCE Clear-To-Send Channel B indicates to the channel B DCE interface that an external serial interface is ready to receive data. [DCE_CTS_B] and [DCE_RTR_B] provide the handshaking for the channel B DCE interface. DCE Ready-to-Receive Channel B indicates to an external serial interface that the internal channel B DCE interface is ready to accept data. [DCE_CTS_B] and [DCE_RTR_B] provide the handshaking for the channel B DCE interface. PCM Receive Data Channel A is the serial data input pin for the channel A PCM Highway interface. PCM Transmit Data Channel A is the serial data output pin for the channel A PCM Highway interface. PCM Clock is the single transmit and receive data clock pin for the channel A PCM Highway interface. PCM Frame Synchronization Clock provides the Frame Synchronization Clock input (usually 8 kHz) for the channel A PCM Highway interface. PCM Time Slot Control A enables an external buffer device when channel A PCM Highway data is present on the [PCM_TXD_A] output pin in PCM Highway mode. PCM Receive Data Channel B is the serial data input pin for the channel B PCM Highway interface. PCM Transmit Data Channel B is the serial data output pin for the channel B PCM Highway interface. PCM Clock is the single transmit and receive data clock pin for the channel B PCM Highway interface. PCM Frame Synchronization Clock provides the Frame Synchronization Clock input (usually 8 kHz) for the channel B PCM Highway interface. PCM Time Slot Control B enables an external buffer device when channel B PCM Highway data is present on the [PCM_TXD_B] output pin in PCM Highway mode.
[DCE_RTR_A]
O
HDLC Channel B (DCE) [DCE_RXD_B] [DCE_TXD_B] [PCM_RXD_B] PIO36 [PCM_TXD_B] PIO37 STI
OD-O
[DCE_RCLK_B] [PCM_CLK_B] PIO40 [DCE_TCLK_B] [PCM_FSC_B] PIO41 [PCM_TSC_B] PIO38 PIO39
STI
STI
[DCE_CTS_B]
STI
[DCE_RTR_B]
O
HDLC Channel A (PCM) [PCM_RXD_A] [PCM_TXD_A] [PCM_CLK_A] [PCM_FSC_A] [PCM_TSC_A] DCE_RXD_A DCE_TXD_A DCE_RCLK_A DCE_TCLK_A [DCE_CTS_A] PIO17 [DCE_RXD_B] PIO36 [DCE_TXD_B] PIO37 [DCE_RCLK_B] PIO40 [DCE_TCLK_B] PIO41 [DCE_CTS_B] PIO38 STI
O-LSOD
STI STI OD
HDLC Channel B (PCM) [PCM_RXD_B] [PCM_TXD_B] [PCM_CLK_B] [PCM_FSC_B] [PCM_TSC_B] STI
O-LSOD
STI STI OD
Am186TMCH HDLC Microcontroller Data Sheet
23
ARCHITECTURAL OVERVIEW
The architectural goal of the AM186CH HDLC m i c r o c on t r o l l e r i s to p r ov i d e c o m pr e h e n s i ve communications features on a processor running the widely known x86 instruction set. The AM186CH HDLC microcontroller combines two HDLC channels and general communications peripherals with the Am186 microcontroller. This highly integrated microcontroller provides system cost and performance advantages for a wide range of communications applications. Figure 1 is a block diagram of the AM186CH HDLC microcontroller followed by sections providing an overview of the features.
Serial Communications Peripherals
Am186 CPU Chip Selects (14) PIOs (48) Watchdog Timer Interrupt Controller (17 Ext. Sources) UART High-Speed UART with Autobaud Synchronous Serial Interface (SSI)
Physical Interface Glueless Interface to RAM/ROM DRAM Controller Timers (3) GeneralPurpose DMA (4) SmartDMA Channels (4)
HDLC
TSA Muxing
Raw DCE PCM Highway
Memory Peripherals
System Peripherals
HDLC TSA
Figure 1. AM186CH Microcontroller Block Diagram
Detailed Description
s Two independent High-level Data Link Control (HDLC) channels support a wide range of external interfaces - External interface connection for HDLCs can be PCM Highway or raw DCE - Data rate of up to 10 Mbit/s - Receive and transmit FIFOs - Support for HDLC, Synchronous Data Link Control (SDLC), Line Access Procedure Balanced (LAP-B), Line Access Procedure D (LAP-D), Point-to-Point Protocol (PPP), and v.120 (support of v.110 In transparent mode) - Two dedicated buffer descriptor ring SmartDMA channels per HDLC - One independent time-slot assigner per HDLC - Clear-to-Send/Ready-to-Receive (CTS/RTR) hardware handshaking and auto-enable operation - Collision detection for multidrop applications - Transparency mode - Address comparison on receive - Flag or mark idle operation s Two independent Time Slot Assigners (TSAs) provide flexible time slot allocation - Allows isolation of Time Division Multiplexed (TDM) time slot of choice from a variety of TDM carriers - Up to 4096 sequential bits can be isolated - TDM bus can have up to 512 8-bit time slots - Start bit and stop bit times identify isolated portion of TDM frame - 12-bit counters define the start/stop bit times as the number of bits after frame synchronization - Entire frame down to 1 bit per frame can be isolated s 8 Direct Memory Access (DMA) channels - Four buffer descriptor ring SmartDMA channels for the two HDLC channels - Four general-purpose DMAs support the two integrated asynchronous serial ports; two DMA channels have external DMA request inputs
24
Am186TMCH HDLC Microcontroller Data Sheet
s High-speed asynchronous serial interface provides enhanced UART functions Capable of sustained operation at 460 Kbaud 7-, 8-, or 9-bit data transfers FIFOs to support high-speed operation DMA support available Automatic baud-rate detection that allows emulation of a Hayes AT-compatible modem - Independent baud generator with clock input source programmable to use CPU or external clock input pin s Asynchronous serial interface (UART) - 7-, 8-, or 9-bit data transfers - DMA support available - - - - -
- Independent baud generator with clock input source programmable to use CPU or external clock input pin s Synchronous Serial Interface (SSI) provides half-duplex, bidirectional interface to highspeed peripherals - Useful with many telecommunication interface peripherals such as codecs, line interface units, and transceivers - Selectable device-select polarity - Selectable bit shift order on transmit and receive - Glueless connection to AMD Subscriber Line Audio Processing Circuit (SLACTM) devices s Clocking options offer high flexibility - CPU can run in 1x, 2x, or 4x mode and adding the 16-bit offset value to yield a 20-bit physical address (see Figure 2). This allows for a 1-Mbyte physical address size. All instructions that address operands in memory must specify the segment value and the 16-bit offset value. For speed and compact instruction encoding, the segment register used for physical address generation is implied by the addressing mode used (see Table 5 on page 26).
Am186TM Embedded CPU
All members of the Am186 family, including the AM186CH HDLC microcontroller, are compatible with the original industry-standard 186 parts, and build on the same core set of 186 registers, address generation, I/O space, instruction set, segments, data types, and addressing modes.
Memory Organization
Memory is organized in sets of segments. Each segment is a linear contiguous sequence of 64K (216) 8-bit bytes. Memor y is addressed using a twocomponent address consisting of a 16-bit segment value and a 16-bit offset. The 16-bit segment values are contained in one of four internal segment registers (CS, DS, SS, or ES). The physical address is calculated by shifting the segment value left by 4 bits
I/O Space
The I/O space consists of 64K 8-bit or 32K 16-bit ports. Separate instructions (IN/INS and OUT/OUTS) address the I/O space with either an 8-bit port address specified in the instruction, or a 16-bit port address in the DX register. Eight-bit port addresses are zeroextended such that A15-A8 are Low.
Shift Left 4 Bits
15 1 15 0 0 2 2 A
0 4 0 2 Offset Segment Base Logical Address
19 1 2 15 0 19 1 2 A 6 0 0 2 A 4
0 0 0 2 0 2 Physical Address
To Memory
Figure 2.
Two-Component Address Example
Am186TMCH HDLC Microcontroller Data Sheet
25
Table 5.
Memory Reference Needed Instructions Local Data Stack External Data (Global)
Segment Register Selection Rules
Segment Register Used Implicit Segment Selection Rule Code (CS) Instructions (including immediate data) Data (DS) All data references All stack pushes and pops; Stack (SS) any memory references that use the BP register Extra (ES) All string instruction references that use the DI register as an index
Serial Communications Support
The AM186CH HDLC microcontroller supports five serial interfaces. This includes two HDLC channels, two UARTs, and a synchronous serial interface. Two HDLC Channels and Two TSAs The AM186CH HDLC microcontroller provides two HDLC channels that support the HDLC, SDLC, LAP-B, LAP-D, PPP, and v.120 protocols. The HDLC channels can also be used in transparent mode to support v.110. Each HDLC channel can connect to an external serial interface directly (nonmultiplexed mode), or can pass through a TSA (multiplexed mode). The flexible interface multiplexing arrangement allows each HDLC channel to have its own external raw DCE or PCM highway interface, share a common PCM highway or other time TDM bus with one or more channels, or work in some combination. Each HDLC channel's independent TSA allows it to extract a subset of data from a TDM bus. The entire frame, or as little as 1 bit per frame, can be extracted. Twelve-bit counters define the start/stop bit times as the number of bits after frame synchronization. The time slot can be an arbitrary number of bits up to 4096 bits. Start bit and stop bit times identify the isolated portion of the TDM frame. Support of less than eight bits per time slot, or bit slotting, allows isolation of from one to eight bits in a single time slot. Each TDM bus can have up to 512 8-bit time slots. Support of these features allows interoperation with PCM highway, E1, IOM-2, T1, and other TDM buses. The HDLC channels have features that make the AM186CH HDLC microcontroller an attractive device for use where general HDLC capability is required. T h e s e f e a t u r e s i n c l u d e C T S / RT R h a r d w a r e handshaking and auto-enable operation, collision detection for multidrop applications, transparency mode, address comparison on receive, flag or mark idle operation, two dedicated buffer descriptor ring SmartDMA channels per HDLC, transmit and receive FIFOs, and full-duplex data transfer. Each TSA channel can support a burst data rate to/from the HDLC of up to 10 Mbit/s in both raw DCE and PCM Highway modes. Total system data throughput is highly dependent on the amount of per-packet and per-byte CPU processing, the rate at which packets are being sent, and other CPU activity. 26 When combined with the TSAs, the HDLC channels can be used in a wide variety of applications such as P CM hi g h way, X . 2 5, Fra m e R e l ay, an d o t he r proprietary Wide Area Network (WAN) connections. Four SmartDMATM Channels The AM186CH HDLC microcontroller provides four SmartDMA channels that provide a faster method for moving data between peripherals and memory with lower CPU utilization. Smar tDMA transmits and receives data across multiple memory buffers and a sophisticated buffer-chaining mechanism. These channels are always used in pairs: transmitter and receiver. The transmit channels can only transfer data from memory to a peripheral; the receive channels can only transfer data from a peripheral to memory. The four channels (two pairs) are dedicated for use with the two on-board HDLC channels. In addition to the four Smar tDMA channels, the AM186CH HDLC microcontroller provides four general-purpose DMA channels (see page 27). Two Asynchronous Serial Ports The AM186CH HDLC microcontroller has two asynchronous serial ports (a UART and a High-Speed UART) that provide full-duplex, bidirectional data transfer at speeds of up to 115.2 Kbaud or up to 460 Kbaud, respectively. The High-Speed UART has 16-byte transmit and 32-byte receive FIFOs, specialcharac ter matching, and automatic baud-rate detection, suitable for implementation of a Hayescompatible modem interface to a host PC. There is also a lower speed UART that typically is used for a low baud-rate system configuration port or debug port. Each of these UARTs can derive its baud rate from the system clock or from a separate baud-rate generator clock input. Both UARTs support 7-, 8-, or 9-bit data transfers; address bit generation and detection in 7- or 8-bit frames; one or two stop bits; even, odd, or no parity; break generation and detection; hardware flow control; and DMA to and/or from the serial ports using the general-purpose DMA channels.
Am186TMCH HDLC Microcontroller Data Sheet
Synchronous Serial Port The AM186CH HDLC microcontroller includes one SSI por t that provides a half-duplex, bidirectional, communications interface between the AM186CH HDLC microcontroller and other system components. This interface is typically used by the microcontroller to monitor the status of other system devices and/or to configure these devices under software control. In a communications application, these devices could be system components such as audio codecs, line interface units, and transceivers. The SSI supports data transfer speeds of up to 25 Mbit/s with a 50-MHz system clock. The SSI port operates as an interface master, with the other attached devices acting as slave devices. Using this protocol, the microcontroller sends a command byte to the attached device, and then follows that with either a read or write of a byte of data. The SSI port consists of three I/O pins: an enable (SDEN), a clock (SCLK), and a bidirectional data pin (SDATA). SDEN can be used directly as an enable for a single attached device. When more than one device requires control via the SSI, PIOs can be used to provide enable pins for those devices. The AM186CH SSI is, in general, software compatible with software written for the Am186EM SSI. (Additional features have been added to the AM186CH SSI implementation.) The AM186CH HDLC microcontroller features the additional capability of selecting the polarity of the SCLK and SDEN pins, as well as the shift order of bits on the SDATA pin (least-significant-bit first versus most-significant-bit first). The SSI port also offers a programmable clock divisor (dividing the clock from 2 to 256 in power of 2 increments), a bidirectional transmit/receive shift register, and direct connection to AMD SLAC devices.
interrupts. The 36 maskable interrupt sources include 19 internal sources and 17 external sources. Four General-Purpose DMA Channels The AM186CH HDLC microcontroller provides a total of 12 DMA channels that can be used for data transfer between memory and I/O spaces (i.e., memory-to-I/O or I/O-to-memory) or within the same space (i.e., memory-to-memory or I/O-to-I/O). In addition, the AM186CH HDLC microcontroller suppor ts data transfer between peripherals and memory or I/O. Internal peripherals that support general-purpose DMA are Timer 2 and the two asynchronous serial ports (UART and High-Speed UART). External peripherals support DMA transfers through the external DMA request pins. Each general-purpose channel can accept synchronized DMA requests from one of three sources: DMA request pins (DRQ1-DRQ0), Timer 2, or the UARTs. In addition, system software can initialize and start unsynchronized DMA transfers. In addition to the four general-purpose channels, the AM186CH HDLC microcontroller provides four SmartDMA channels (see page 26). 48 Programmable I/O Signals The AM186CH HDLC microcontroller provides 48 user-programmable input/output signals (PIOs). All but six of the 48 signals share a pin with at least one alternate function. If an application does not need the alternate function, the associated PIO can be used by programming the PIO registers. If a pin is enabled to function as a PIO signal, the alternate function is disabled and does not affect the pin. A PIO signal can be configured to operate as an input or output, with or without internal pullup or pulldown resistors (pullup or pulldown depends on the pin configuration and is not user-configurable), or as an open-drain output. Additionally, eight PIOs can be configured as external interrupt sources. Three Programmable Timers There are three 16-bit programmable timers in the AM186CH HDLC microcontroller. Timers 0 and 1 are highly versatile and are each connected to two external pins (each one has an input and an output). These two timers can be used to count or time external events that drive the timer input pins. Timers 0 and 1 can also be used to generate nonrepetitive or variable-duty-cycle waveforms on the timer output pins. Timer 2 is not connected to any external pins. It can be used by software to generate interrupts, or it can be polled for real-time coding and time-delay applications. Timer 2 can also be used as a prescaler to Timer 0 and Timer 1, or as a DMA request source. The source clock for Timer 2 is one-fourth of the system clock frequency. The source clock for Timers 0
System Peripherals
Interrupt Controller The AM186CH HDLC microcontroller features an interrupt controller that arranges the 36 maskable interrupt requests by priority and presents them one at a time to the CPU. In addition to interrupts managed by the i nte rr up t co ntr ol ler, the A m1 86CH HDL C m i c r o c o n t r o l l e r s u p p or t s ei g h t n o n m a s k a bl e interrupts--an external or internal nonmaskable interrupt (NMI), a trace interrupt, and software interrupts and exceptions. The interrupt controller supports the 36 maskable interrupt sources through the use of 15 channels. Because of this, most channels support multiple interrupt sources. These channels are programmable to support the external interrupt pins and/or various peripheral devices that can be configured to generate
Am186TMCH HDLC Microcontroller Data Sheet
27
and 1 can be configured to be one-fourth of the system clock, or they can be driven from their respective timer input pins. When driven from a timer input pin, the timer is counting the "event" of an input transition. The AM186CH HDLC microcontroller also provides a pulse width demodulation (PWD) option so that a toggling input signal's Low state and High state durations can be measured. Hardware Watchdog Timer The AM186CH HDLC microcontroller provides a fullfeatured watchdog timer, which includes the ability to generate Non-Maskable Interrupts (NMIs), microcontroller resets, and system resets when the timeout value is reached. The timeout value is programmable and ranges from 210 to 226 processor clocks. The watchdog timer is used to regain control when a system has failed due to a software error or to failure of an external device to respond in the expected way. Software errors can sometimes be resolved by recapturing control of the execution sequence via a watchdog-timer-generated NMI. When an external device fails to respond, or responds incorrectly, it may be necessary to reset the controller or the entire system, including external devices. The watchdog timer provides the flexibility to support both NMI and reset generation.
The 80C186 and 80C188 microcontrollers use a multiplexed address and data (AD) bus. The address is present on the AD bus only during the t1 clock phase. The AM186CH HDLC microcontroller continues to provide the multiplexed AD bus and, in addition, provide a nonmultiplexed address (A) bus. The A bus provides an address to the system for the complete bus cycle (t 1 -t 4 ). During refresh cycles, the AD bus is driven during the t1 phase and the values are unknown during the t2, t3, and t4 phases. The value driven on the A bus is undefined during a refresh cycle. The nonmultiplexed address bus (A19-A0) is valid one-half CLKOUT cycle in advance of the address on the AD bus. When used with the modified UCS and LCS outputs and the byte write enable signals, the A19-A0 bus provides a seamless interface to SRAM, DRAM, and Flash/EPROM memory systems. For systems where power consumption is a concern, it is possible to disable the address from being driven on the AD bus on the AM186CH HDLC microcontroller during the normal address portion of the bus cycle for accesses to upper (UCS) and/or lower (LCS) address spaces. In this mode, the affected bus is placed in a high-impedance state during the address portion of the bus cycle. This feature is enabled through the DA bits in the Upper Memory Chip Select (UMCS) and Lower Memory Chip Select (LMCS) registers. When address disable is in effect, the number of signals that assert on the bus during all normal bus cycles to the associated address space is reduced, thus decreasing power consumption, reducing processor switching noise, and preventing bus contention with memory devices and peripherals when operating at high clock rates. If the ADEN pin is asserted during processor reset, the value of the DA bits in the UMCS and LMCS registers is ignored and the address is driven on the AD bus for all accesses, thus preserving the industry-standard 80C186 and 80C188 microcontrollers' multiplexed address bus and providing suppor t for existing emulation tools. For details on these registers, refer to the Am186TMCC/CH/CU Microcontrollers Register Set Manual, order #21916. Figure 3 on page 29 shows the affected signals during a normal read or write operation. The address and data are multiplexed onto the AD bus. Figure 4 on page 29 shows a bus cycle when address bus disable is in effect, which causes the AD bus to operate in a nonmultiplexed data-only mode. The A bus has the address during a read or write operation.
Memory and Peripheral Interface
System Interfaces The AM186CH HDLC microcontroller bus interface controls all accesses to the peripheral control block (PCB), memory-mapped and I/O-mapped external peripherals, and memory devices. Internal peripherals are accessed by the bus interface through the PCB. The bus interface features programmable bus sizing; individually selectable chip selects for the upper (UCS) memory space, lower (LCS) memory space, all non-UCS, non-LCS and I/O memory spaces; separate byte-write enables; and, boot option from an 8- or 16-bit device. The integrated peripherals are controlled by 16-bit read/write registers. The peripheral registers are contained within an internal 1-Kbyte control block. At reset, the base of the PCB is set to FC00h in I/O space. The registers are physically located in the peripheral devices they control, but they are addressed as a single 1-Kbyte block. For details on the PCB registers, refer to the Am186TMCC/CH/CU Microcontrollers Register Set Manual, order #21916. Accesses to the PCB should be performed by direct processor actions. The use of DMA to write or read from the PCB results in unpredictable behavior, except where explicit exception is made to suppor t a peripheral function, such as the High-Speed UART transmit and receive data registers.
28
Am186TMCH HDLC Microcontroller Data Sheet
t1 Address Phase
t2
t3 Data Phase
t4
CLKOUT A19-A0 Address
AD15-AD0 (Read)
Address
Data
AD15-AD0 (Write) LCS or UCS
Address
Data
MCSx, PCSx
Figure 3. AM186CH Microcontroller Address Bus -- Default Operation
t1 Address Phase CLKOUT A19-A0 AD7-AD0 (Read) AD15-AD8 (Read) AD15-AD0 (Write) LCS or UCS
t2
t3 Data Phase
t4
Address
Data Data
Data
Figure 4.
AM186CH Microcontroller--Address Bus Disable In Effect
Am186TMCH HDLC Microcontroller Data Sheet
29
Bus Interface The bus interface controls all accesses to external peripherals and memory devices. External accesses include those to memory devices, as well as those to memory-mapped and I/O-mapped peripherals and the peripheral control block. The AM186CH HDLC microcontroller provides an enhanced bus interface unit with the following features:
s Nonmultiplexed address bus s Separate byte write enables for high and low bytes s Output enable The standard 80C186/80C188 multiplexed address and data bus requires system interface logic and an external address latch. On the AM186CH HDLC microcontroller, byte write enables and a nonmultiplexed address bus can reduce design costs by eliminating this external logic.
save system cost over SRAM designs by taking advantage of low DRAM memory costs. The DRAM interface uses various chip select pins to implement the RAS/CAS interface required by DRAMs. The DRAM controller drives the RAS/CAS interface appropriately during both normal memory accesses and during refresh. All signals required are generated by the microcontroller and no external logic is required. The DRAM multiplexed address pins are connected to the odd address pins of the AM186CH HDLC microcontroller, starting with A1 on the AM186CH HDLC microcontroller connecting to MA0 on the DRAM. The correct row and column addresses are generated on these odd address pins during a DRAM access. The RAS pins are multiplexed with LCS and MCS3, allowing a DRAM bank to be present in either high or low memory space. The MCS1 and MCS2 function as the upper and lower CAS pins, respectively, and define which byte of data in a 16-bit DRAM is being accessed. The microcontroller supports the most common DRAM refresh option, CAS-Before-RAS. All refresh cycles contain three wait states to support the DRAMs at various frequencies. The DRAM controller never performs a burst access. All accesses are single accesses to DRAM. If the PCS chip selects are decoded to be in the DRAM address range, PCS accesses take precedence over the DRAM. Chip Selects The AM186CH HDLC microcontroller provides six chip select outputs for use with memory devices and eight more for use with peripherals in either memory or I/O space. The six memory chip selects can be used to address three memory ranges. Each peripheral chip select addresses a 256-byte block offset from a programmable base address. The microcontroller can be programmed to sense a ready signal for each of the peripheral or memory chip select lines. A bit in each chip select control register determines whether the external ready signal is required or ignored. The chip selects can control the number of wait states inserted in the bus cycle. Although most memory and peripheral devices can be accessed with three or less wait states, some slower devices cannot. This feature allows devices to use wait states to slow down the bus. The chip select lines are active for all memory and I/O cycles in their programmed areas, whether they are generated by the CPU or by the integrated DMA unit. General enhancements over the original 80C186 include bus mastering (three-state) support for all chip selects and activation only when the associated register is written, not when it is read.
Nonmultiplexed Address Bus The nonmultiplexed address bus (A19-A0) is valid one-half CLKOUT cycle in advance of the address on the AD bus. When used with the modified UCS and LCS outputs and the byte write enable signals, the A19-A0 bus provides a seamless interface to external SRAM, and Flash memory/EPROM systems. Byte Write Enables
The AM186CH HDLC microcontroller provides the WHB (Write High Byte) and WLB (Write Low Byte) signals that act as byte write enables. WHB is the logical OR of BHE and WR. WHB is Low when both BHE and WR are Low. WLB is the logical OR of A0 and WR. WLB is Low when A0 and WR are both Low. T h e b y t e w r i t e e n a b l e s a r e d r i ve n w i t h t h e nonmultiplexed address bus as required for the write timing requirements of common SRAMs.
Output Enable The AM186CH HDLC microcontroller provides the RD (Read) signal that acts as an output enable for memory or peripheral devices. The RD signal is Low when a word or byte is read by the microcontroller.
DRAM Support To s u p p o r t D R A M , t h e A m 1 8 6 C H H D L C microcontroller has a fully integrated DRAM controller that provides a glueless interface to 25-70-ns Extended Data Out (EDO) DRAM. (EDO DRAM is sometimes called Hyper-Page Mode DRAM.) Up to two banks of 4-Mbit (256 Kbit x 16 bit) DRAM can be accessed. Page Mode DRAM, Fast Page Mode DRAM, Asymmetrical DRAM, and 8-bit wide DRAM are not supported. The microcontroller provides zero-wait state operation at up to 50 MHz with 40-ns DRAM. This allows designs requiring larger amounts of memory to 30
Am186TMCH HDLC Microcontroller Data Sheet
Clock Control
The processor supports clock rates from 16 to 50 MHz using an integrated cr ystal oscillator and PLL. Commercial and industrial temperature ratings are available. The CPU can run in 1x, 2x, or 4x PLL mode.
r e q ui r em e n ts. T h e fo l l owi n g P I O s i g na l s ar e multiplexed with alternate signals that may be used by emulators: PIO8, PIO15, PIO33-PIO35. The AM186CH HDLC microcontroller was designed to minimize conflicts. In most cases, pin conflict is avoided. For example, if the ALE signal is required for multiplex bus support, then it is not programmed as PIO33. If the multiplexed AD bus is not used, then ALE ca n be pro gramme d as a P IO pi n. And i f th e multiplexed bus is not in use, then the emulator does not require the ALE signal. However, an emulator is likely to always use the de-multiplexed address, regardless of how the AD bus is programmed.
In-Circuit Emulator Support
Because pins are an expensive resource, many play a dual role, and the programmer selects PIO operation or an alternate function. However, a pin configured to be a PIO may also be required for emulation support. Therefore, it is impor tant that before a design is committed to hardware, a user should contact potential emulator suppliers for a list of their emulator's pin
APPLICATIONS
The AM186CH HDLC microcontroller with its integrated HDLC and other communications features provides a highly integrated, cost-effective solution for a wide range of telecommunications and networking applications. s Linecard Applications: Typically, the microcontroller linecards used in Central Offices (COs), PABX equipment, and other telephony applications require one or two channels of HDLC. Linecard manufacturers are moving to more lines per card for analog POTS as a means of cost reduction. This and digital linecards often require higher performance than existing 8-bit devices can offer. The AM186CH HDLC microcontroller is an ideal solution for these applications because it integrates much of the necessary glue logic while providing higher performance. s Industrial Control: Embedded x86 processors have long been used in the industrial control market. These applications often require a robust, high-performance processor solution with the capability to easily communicate with other parts of a system. TheAM186CH HDLC microcontroller provides numerous interfaces to achieve this communication, including the SSI interface, highspeed UART, and the HDLC channels that also can be used to create a multidrop backplane. s General Communications Applications: The AM186CH HDLC microcontroller will also find a home in general embedded applications, because many devices will incorporate communications capability in the future. Many designs are adding HDLC capability as a robust means of inter- and intra-system communications. The microcontroller is especially attractive for 186 designs adding HDLC. Figure 5 on page 32 shows a 32-channel linecard system application. The 32-channel linecard design demonstrates the AM186CH HDLC microcontroller's use in a linecard application where 32 incoming POTS lines are aggregated onto a single E1 connection.
Am186TMCH HDLC Microcontroller Data Sheet
31
*The AM186CH HDLC microcontroller does not have a USB peripheral controller or a GCI interface.
Figure 5.
32-Channel Linecard System Application
32
Am186TMCH HDLC Microcontroller Data Sheet
CLOCK GENERATION AND CONTROL
The AM186CH HDLC microcontroller clocks include the general system clock (CLKOUT), transmitter/ receiver clocks for each HDLC channel, and the baud rate generator clock for UART and High-Speed UART. The SSI and the timers (Timers 0, 1, and 2) derive their clocks from the system clock.
s UART clock can be derived from the internal system clock frequency or from the UART clock (UCLK) input. See Figure 6 for a diagram of the basic clock generation and Figure 7 on page 34 for suggested clock frequencies and modes.
System Clock
The system PLL generates frequencies from 16 to 50 MHz. The reference for the system PLL can vary from 8 to 40 MHz, depending on the PLL mode selected and the desired system frequency (see Figure 7 on page 34). The system PLL modes are chosen by the state of the {CLKSEL1} and {CLKSEL2} pins during reset. For these pinstrap settings see Table 26, "Reset Configuration Pins (Pinstraps)," on page A-7. The system clock can be generated in one of two ways: s Using the internal PLL running at 1x, 2x, or 4x the reference clock. The reference clock can be generated from an external crystal using the integrated oscillator or an external oscillator input. s Bypassing the internal PLL. The external reference generated from either a crystal or an external oscillator input is used to generate the system clock (see "PLL Bypass Mode" on page 35).
Features
The AM186CH HDLC microcontroller clocks include the following features and characteristics: s A crystal-controlled oscillator that uses an external fundamental mode crystal or oscillator to generate the system input clock. s An internal PLL that generates a system clock (CLKOUT) that is 1x, 2x, or 4x the system input clock. s Each HDLC receives its clock inputs directly from the external communication clock pins (TCLK _X and RCLK_X) in all modes. The system clock must be at least the same frequency as any HDLC clock. - HDLC DCE and PCM modes support clocks up to 10 MHz. s SSI clock (SCLK) is derived from the system clock, divided by 2, 4, 8, 16, 32, 64, 128, or 256. s Timers 0 and 1 can be configured to be driven by the timer input pins (TMRIN1, TMRIN0) or at onefourth of the system clock. Timer 2 is driven at onefourth of the system clock.
AM186CH HDLC Microcontroller 1x PLL 2x 4x PLL Bypass Mode {CLKSEL2}-{CLKSEL1} System Clock CLKOUT
X1
X2
Figure 6.
System Clock Generation
Am186TMCH HDLC Microcontroller Data Sheet
33
System Operating Frequency 0 MHz 16 MHz 4x Mode 20 MHz 24 MHz 30 MHz 32 MHz
8-MHz to 12.5-MHz Xtal or Clock
40 MHz
50 MHz
2x Mode
8-MHz to 25-MHz Xtal or Clock
1x Mode
16-MHz to 40-MHz Xtal or Clock1
PLL Bypass Mode
0-MHz to 24-MHz Xtal or Clock
PLL Bypass Mode
1The
1x Mode
2x Mode
4x Mode
crystal oscillator is not guaranteed above 40 MHz.
Figure 7.
Suggested System Clock Frequencies, Clock Modes, and Crystal Frequencies
Crystal-Driven Clock Source
The internal oscillator circuit is designed to function with an external parallel-resonant fundamental mode crystal. The crystal frequency can vary from 8 to 40 MHz, depending on the PLL mode selected and desired system frequency. When selecting a crystal, the load capacitance should always be specified (C L ). This value can cause variance in the oscillation frequency from the desired specified value (resonance). The load capacitance and the loading of the feedback network have the following relationship: CL = (C1 C2) + CS (C1 + C2) where CS is the stray capacitance of the circuit. Table 6 shows crystal parameter values. Figure 8 shows the system clocks using an external crystal and the integrated oscillator. The specific values for C 1 and C 2 must be determined by the designer and are dependent on the characteristics of the chosen crystal and board design.
C1 Parameter Frequency ESR 8-24 MHz 24-50 MHz
Table 6. Crystal Parameters
Min. Value 8 20 20 10 Max. Value 40 90 60 -- Units MHz ohms ohms pF
Load capacitance
Xtal C2
X1 X2
Figure 8.
External Interface to Support Clocks-- Fundamental Mode Crystal
34
Am186TMCH HDLC Microcontroller Data Sheet
External Clock Source
The internal oscillator also can be driven by an external clock source. The external clock source should be connected to the input of the inverting amplifier (X1) with the output (X2) left unconnected. Figure 9 shows the system clocks using an external clock source (oscillator bypass).
an external clock source. For PLL Bypass Mode enabling, see Table 26, "Reset Configuration Pins (Pinstraps)," on page A-7. When changing frequency in PLL Bypass mode, the X1 input must not have any short or "runt" pulses. At 24 MHz, the nominal High/Low time is 21 ns. The actual High times and Low times must not fall below 16 ns. These values allow a 60%/40% duty cycle at X1. In the AM186CH microcontroller, the system clock must be at the same or a greater frequency than the HDLC clock and UCLK (if using UCLK). Therefore, if reducing the system clock frequency, disable these interfaces or run them at a lower frequency.
Note: X1 and X2 are not 5-V tolerant and have a maximum input equal to VCC.
External Clock NC
X1
UART Baud Clock
X2
Figure 9.
External Interface to Support Clocks-- External Clock Source
The UART and High-Speed UART have two possible clock sources: the system clock or the UCLK input pin. If UCLK is used for the UART clock, the system clock must be at least the same frequency as UCLK. The clock configurations are shown graphically in Figure 10. The baud clock is generated by dividing the clock source by the value of the baud rate divisor register. The serial port logic can select its baud rate clock from either an external pin (UCLK) or from the system clock. The system or UCLK clock is selected independent of any other settings. The formula for determining the baud rate divisor register value is: BAUDDIV = (clock frequency/(16 * baud rate))
Static Operation
The AM186CH HDLC microcontroller is a fully static design and can be placed in static mode by stopping the input clock. See the PLL Bypass Mode discussion below.
Note: It is the responsibility of the system designer to ensure that no short clock phases are generated when starting or stopping the clock.
PLL Bypass Mode
The AM186CH HDLC microcontroller provides a PLL Bypass mode that allows the X1 input frequency to be anywhere from 0 to 24 MHz. When the microcontroller is in PLL Bypass mode, the CLKOUT frequency equals the X1 input frequency. This mode must be used with
Note: UCLK cannot be clocked at a frequency higher than the system clock frequency.
System Clock UCLK UART/High-Speed UART Clock Select Baud Divisor
Oversample Clock
Divide for Oversampling
Baud Clock
Autobaud Clock (High-Speed UART Only)
Figure 10.
UART and High-Speed UART Clocks
Am186TMCH HDLC Microcontroller Data Sheet
35
POWER SUPPLY OPERATION
CMOS dynamic power consumption is proportional to the square of the operating voltage multiplied by capacitance and operating frequency. Static CPU operation can reduce power consumption by enabling the system designer to reduce operating frequency when possible. However, operating voltage is always the dominant factor in power consumption. By reducing the operating voltage from 5 V to 3.3 V for any device, the power consumed is reduced by 56%. Reduction of CPU and system logic operating voltage dramatically reduces overall system power consumption. Additional power savings can be realized as lowvoltage mass storage and peripheral devices become available. Two basic strategies exist in designing systems containing the AM186CH HDLC microcontroller. The first strategy is to design a homogenous system in which all logic components operate at 3.3 V. This provides the lowest overall power consumption. However, system designers may need to include devices for which 3.3-V versions are not available. In the second strategy, the system designer must then design a mixed 5-V/3.3-V system. This compromise enables the system designer to minimize the system logic power consumption while still including the functionality of the 5-V features. The choice of a mixed voltage system design also involves balancing design complexity with the need for the additional features.
n During power-up, if the 3.3-V supply has a significant delay in achieving stable operation relative to 5-V supply, then the 5-V circuitry in the system may start driving the processor's inputs above the maximum levels (V CC + 2.6 V). The system design should ensure that the 5-V supply does not exceed 2.6 V above the 3.3-V supply during a power-on sequence. n Preferably, all inputs are driven by sources that can be three-stated during a system reset condition. The system reset condition should persist until stable V CC conditions are met. This should help ensure that the maximum input levels are not exceeded during power-up conditions. n Preferably, all pullup resistors are tied to the 3.3-V supply, which ensures that inputs requiring pullups are not over stressed during power-up.
PIO Supply Current Limit
Each programmable I/O output is able to sink or source a sustained 16-mA drive current. However, only 40 mA of sustained PIO current is allowed for each supply pin (VCC), and only 60 mA is allowed for each ground pin (VSS). To calculate the PIO current for each supply or ground pin, sum the applicable current (source or sink) of all PIO pins on either side of the pin (to the adjacent corresponding pins), and divide the sum by two. The resulting value should not exceed 40 mA for VCC or 60 mA for VSS. Exclude the following pins from this calculation: 72 (VSS_A), 82 (VSS), 77 (VCC_A), and 79 (VCC). For example, to calculate the PIO current for pin 83 (VSS), total the sustained sinking current for all PIO pins between pin 71 (V SS ) and pin 100 (V SS ), and divide the sum by two.
Power Supply Connections
Connect all V CC pins together to the 3.3-V power supply and all ground pins to a common system ground.
Input/Output Circuitry
To accommodate current 5-V systems, the AM186CH HDLC microcontroller has 5-V tolerant I/O drivers. The drivers produce TTL-compatible drive output (minimum 2.4-V logic High) and receive TTL and CMOS levels (up to VCC + 2.6 V). The following are some design issues that should be considered with mixed 3.3-V/5-V designs:
36
Am186TMCH HDLC Microcontroller Data Sheet
ABSOLUTE MAXIMUM RATINGS1
Parameter Temperature under bias: commercial Industrial Storage temperature Voltage on 5-V-tolerant pins with respect to ground Voltage on other pins with respect to ground Sustained current on any supply (VCC) pin5 Sustained PIO current on any ground (VSS) pin5
4
Symbol TC
2
Minimum 0 -40 -65 -0.5 -0.5 40 60
Maximum 100 +85 +150 VCC + 2.6 VCC + 0.5 -- --
Unit C C C V V mA mA
TA3 -- -- -- -- --
Notes: 1. Stresses above those listed under Absolute Maximum Ratings can cause permanent device failure. Functionality at or above these limits is not implied. Exposure to absolute maximum ratings for extended periods may affect device reliability. 2. TC = case temperature. 3. TA = ambient temperature. 4. 5-V-tolerant pins are indicated in Table 30, "Pin List Summary," on page A-11. 5. See "PIO Supply Current Limit" on page 36.
OPERATING RANGES1
Parameter Commercial Industrial Supply voltage with respect to ground Symbol TC
2
Minimum 0 -40 3.0
Maximum 100 + 85 3.6
Unit C C V
TA3 VCC
Notes: 1. Operating Ranges define those limits between which the functionality of the device is guaranteed. 2. TC = case temperature. 3. TA = ambient temperature.
DC CHARACTERISTICS OVER COMMERCIAL AND INDUSTRIAL OPERATING RANGES1
Symbol VOH VOH VOL VIH5 VIH VIL ILI ILO PCC Parameter Output High voltage (IOH = -2.4 mA) Output High voltage (IOH = -0.1 mA)2 Output Low voltage (IOL = 4.0 mA) 5-V tolerant Input High voltage Input High voltage, except 5-V tolerant Input Low voltage Input leakage current (0.1 V VOUT VCC) (all pins except those with internal pullup/pulldown resistors) Output leakage current3 (0.1 V VOUT VCC) Power consumption Preliminary Minimum 2.4 VCC - 0.2 -- 2.0 2.0 -0.3 -- -- -- Maximum -- -- 0.45 VCC + 2.6 VCC + 0.3 0.8 10 15 1.2 Unit V V V V V V mA mA W
Notes: 1. Current out of pin is stated as a negative value. 2. Characterized but not tested. 3. This parameter is for three-state outputs where VOUT is driven on the three-state output.
Am186TMCH HDLC Microcontroller Data Sheet
37
CAPACITANCE
Symbol CIN CCLK COUT CI/O Parameter Input capacitance Clock capacitance Output capacitance I/O pin capacitance Preliminary Minimum -- -- -- -- Maximum 15 15 20 20 Unit pF pF pF pF
MAXIMUM LOAD DERATING
All maximum delay numbers should be increased by 0.035 ns for every pF of load over the maximum load (up to a maximum of 150 pF) specified in Table 30, "Pin List Summary," on page A-11. s No DC loads on the output buffers s Output capacitive load set to 30 pF s AD bus set to data only s PIOs are disabled s Timer, serial port, refresh, and DMA are enabled Table 7 shows the values that are used to calculate the typical power consumption value for the AM186CH HDLC microcontroller. Table 7.
MHz 25 40 50
POWER SUPPLY CURRENT
For the following typical system specification shown in Figure 11, ICC has been measured at 6 mA per MHz of system clock. The typical system is measured while the system is executing code in a typical application with nominal voltage and maximum case temperature. Actual power supply current is dependent on system design and may be greater or less than the typical ICC figure presented here. Typical current in Figure 11 is given by: ICC = 6 mA 1/4 freq(MHz) Please note that dynamic ICC measurements are dependent upon chip activity, operating frequency, output buffer logic, and capacitive/resistive loading of the outputs. For these ICC measurements, the devices were set to the following modes:
Typical Power Consumption Calculation
Typical ICC 6 6 6 Volts 3.3 3.3 3.3 Typical Power in Watts 0.495 0.792 0.99
MHz 1/4 ICC 1/4 Volts / 1000 = P
320 280 240 200
ICC (mA) 160
120 80 40 0 10 20 30 40 50
Clock Frequency (MHz)
Figure 11. Typical Icc Versus Frequency
38
Am186TMCH HDLC Microcontroller Data Sheet
THERMAL CHARACTERISTICS--PQFP PACKAGE
The AM186CH HDLC microcontroller is specified for operation with case temperature ranges from 0C to +100C for 3.3 V 0.3 V (commercial). Case temperature is measured at the top center of the pack age a s s hown in Fi gur e 12 . Th e va r i ous temperatures and ther mal resistances can be determined using the equations in Figure 13 with information given in Table 8. The total thermal resistance is qJA; qJA is the sum of qJC, the internal thermal resistance of the assembly, and qCA, the case-to-ambient thermal resistance. The variable P is power in watts. Power supply current (ICC) is in mA per MHz of clock frequency. qJA TC q JC qCA
qJA = qJC + qCA Figure 12. Thermal Resistance(C/Watt)
TJ = TC + (P 1/4 qJC) TJ = TA + (P 1/4 qJA) TC = TJ - (P TC = TA + (P
qJA = qJC + qCA P = ICC 1/4 freq (MHz) 1/4 VCC
1/4 qJC) 1/4 qCA) TA = TJ - (P 1/4 qJA) TA = TC - (P 1/4 qCA)
Figure 13.
Thermal Characteristics Equations
Table 8. Thermal Characteristics (C/Watt)
Airflow (Linear Feet per Minute) 0 fpm 200 fpm 400 fpm 600 fpm PQFP/4-Layer to 6-Layer 0 fpm 200 fpm 400 fpm 600 fpm
Package/Board PQFP/2-Layer
qJC 7 7 7 7 5 5 5 5
qCA 38 32 28 26 18 16 14 12
qJA 45 39 35 33 23 21 19 17
Am186TMCH HDLC Microcontroller Data Sheet
39
COMMERCIAL AND INDUSTRIAL SWITCHING CHARACTERISTICS AND WAVEFORMS
In the switching waveforms that follow, several abbreviations are used to indicate the specific periods of a bus cycle. These periods are referred to as time states. A typical bus cycle is composed of four consecutive time states: t1, t2, t3, and t4. Wait states, which represent multiple t3 states, are referred to as tw states. When no bus cycle is pending, an idle (ti) state occurs. In th e sw i tc hi n g pa r am e t e r d e s c r i p ti o n s, t h e multiplexed address is referred to as the AD address bus; the demultiplexed address is referred to as the A address bus. Figure 14 defines symbols used in the switching waveform diagrams. Table 9 on page 41 contains an alphabetical listing of the switching parameter symbols (grouped by function), and Table 10 on page 44 contains a numerical listing of the switching parameter symbols (grouped by function).
WAVEFORM
INPUT Must be Steady May change from H to L or from H to threestate May change from L to H or from L to threestate
OUTPUT Will be Steady Will be changing from H to L or from H to threestate Will be changing from L to H or from L to threestate
Figure 14. Key to Switching Waveforms
40
Am186TMCH HDLC Microcontroller Data Sheet
Table 9. Alphabetical Key to Switching Parameter Symbols
Parameter Symbol tARYCH tARYCHL tARYHDSH tARYHDV tARYLCL tARYLDSH tAVBL tAVCH tAVLL tAVRL tAVWL tAZRL tCH1CH2 tCHAV tCHCAS tCHCK tCHCL tCHCSV tCHCSX tCHCTV tCHCV tCHCZ tCHDX tCHLH tCHLL tCHQS0V tCHQS1V tCHRAS tCHRFD tCHSV tCICO tCKHL tCKIN tCKLH tCL2CL1 tCLARX tCLAV tCLAX tCLAZ tCLCH tCLCK tCLCL tCLCLX No. 49 51 95 89
1 1
Description ARDY resolution transition setup time ARDY inactive holding time ARDY High to DS High ARDY assert to data valid ARDY setup time ARDY Low to DS High A address valid to WHB, WLB Low AD address valid to clock High AD address valid to ALE Low A address valid to RD Low A address valid to WR Low AD address float to RD active CLKOUT rise time CLKOUT High to A address valid Change in CAS delay X1 High time CLKOUT High time CLKOUT High to LCS/UCS valid MCSx/PCSx inactive delay Control active delay 2 Command lines valid delay (after float) Command lines float delay Status hold time ALE active delay ALE inactive delay Queue status 0 output delay Queue status 1 output delay Change in RAS delay CLKOUT High to RFSH valid Status active delay X1 to CLKOUT skew X1 fall time X1 period X1 rise time CLKOUT fall time ARDY active hold time AD address and BHE valid delay Address hold AD address float delay CLKOUT Low time X1 Low time CLKOUT period LCS inactive delay
52 961 87 14 12 66 65 24 45 68 404 38 44 67 18 22 64 63 8 9 11 55 56 403 791 3 69 39 36 40 46 50 5 6 15 43 37 42 801
Am186TMCH HDLC Microcontroller Data Sheet
41
Table 9. Alphabetical Key to Switching Parameter Symbols (Continued)
Parameter Symbol tCLCSL tCLCSV tCLDOX tCLDV tCLDX tCLHAV tCLRF tCLRH tCLRL tCLRO tCLSH tCLSRY tCLTMV tCOLV tCSHARYL tCVCTV tCVCTX tCVDEX tCXCSX tDSHDIR tDSHDIW tDSHDX tDSHLH tDSLDD tDSLDV tDVCL tDVDSL tDXDL tHVCL tINVCH tLCRF tLHAV tLHLL tLLAX tLRLL tRESIN tRFCY tRHAV tRHDX tRHDZ tRHLH tRLRH tSRYCL No. 811 16 30 7 2 62 82
1
Description LCS active delay MCSx/PCSx active delay Data hold time Data valid delay Data in hold HLDA valid delay CLKOUT High to RFSH invalid RD inactive delay RD active delay Reset delay Status and BHE inactive delay SRDY transition hold time Timer output delay Column address valid delay Chip select to ARDY Low Control active delay 1 Control inactive delay DEN/DS inactive delay MCSx/PCSx hold from command inactive DS High to data invalid--read DS High to data invalid--write DS High to data bus turn-off time DS inactive to ALE inactive DS Low to data driven DS Low to data valid Data in setup Data valid to DS Low DEN/DS inactive to DT/R Low HOLD setup Peripheral setup time LCS inactive to RFSH active delay ALE High to address valid ALE width AD address hold from ALE inactive LCS precharge pulse width RES setup time RFSH cycle time RD inactive to AD address active RD High to data hold on AD bus RD High to data bus turn-off time RD inactive to ALE High RD pulse width SRDY transition setup time
27 25 61 4 48 54 402 881 20 31 21 17 92 98
1 1
931 41 901 911 1 971 19 58 53 861 23 10 13 841 57 851 29 59 941 28 26 47
42
Am186TMCH HDLC Microcontroller Data Sheet
Table 9. Alphabetical Key to Switching Parameter Symbols (Continued)
Parameter Symbol tWHDEX tWHDX tWHLH tWLWH DCE tTCLKH tTCLKHD tTCLKL tTCLKO tTCLKPER tTCLKR tTCLKSU PCM (Slave) tCLKP tDCD tDCLT tDCT tDFT tDTW tDZC tDZF tHCD tHCF tHFI tSUDC tSUFC tSYNSS tWH tWL tWSYN tDTZ PCM (Master) tDCFH tDCFL SSI tCLEV tCLSL tDVSH tSHDX tSLDV 1 2 3 4 5 CLKOUT Low to SDEN valid CLKOUT Low to SCLK Low Data valid to SCLK High SCLK High to data invalid SCLK Low to data valid 1 2 Delay time from CLK High to FSC High Delay time from CLK High to FSC Low 1 8 13 11 12 17 5 6 10 4 14 9 7 15 2 3 16 18 PCM clock period Delay time from CLK High to TXD valid Delay from CLK Low of last bit to TSC invalid Delay to TSC valid from CLK Delay to TSC valid from FSC Delay from last bit CLK Low to TXD weak drive Delay time to valid TXD from CLK Delay time to valid TXD from FSC Hold time from CLK Low to RXD invalid Hold time from CLK Low to FSC valid Hold time from CLK Low to FSC invalid Setup time from RXD valid to CLK Setup time for FSC High to CLK Low Time between successive synchronization pulses PCM clock High PCM clock Low FSC width invalid Delay from last bit CLK (plus one) High to TXD disable 2 6 3 4 1 7 5 DCE clock High DCE clock hold DCE clock Low DCE clock to output delay DCE clock period DCE clock rise/fall DCE clock setup No. 35 34 33 32 Description WR inactive to DEN inactive Data hold after WR WR inactive to ALE High WR pulse width
Notes: 1. Specification defined but not in use at this time.
Am186TMCH HDLC Microcontroller Data Sheet
43
Table 10.
No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
Numerical Key to Switching Parameter Symbols
Description Data in setup Data in hold Status active delay Status and BHE inactive delay AD address and BHE valid delay Address hold Data valid delay Status hold time ALE active delay ALE width ALE inactive delay AD address valid to ALE Low AD address hold from ALE inactive AD address valid to clock High AD address float delay MCSx/PCSx active delay MCSx/PCSx hold from command inactive MCSx/PCSx inactive delay DEN/DS inactive to DT/R Low Control active delay 1 DEN/DS inactive delay Control active delay 2 ALE High to address valid AD address float to RD active RD active delay RD pulse width RD inactive delay RD inactive to ALE High RD inactive to AD address active Data hold time Control inactive delay WR pulse width WR inactive to ALE High Data hold after WR WR inactive to DEN inactive X1 period X1 Low time X1 High time X1 fall time X1 rise time DS inactive to ALE inactive CLKOUT period CLKOUT Low time
Parameter Symbol tDVCL tCLDX tCHSV tCLSH tCLAV tCLAX tCLDV tCHDX tCHLH tLHLL tCHLL tAVLL tLLAX tAVCH tCLAZ tCLCSV tCXCSX tCHCSX tDXDL tCVCTV tCVDEX tCHCTV tLHAV tAZRL tCLRL tRLRH tCLRH tRHLH tRHAV tCLDOX tCVCTX tWLWH tWHLH tWHDX tWHDEX tCKIN tCLCK tCHCK tCKHL tCKLH tDSHLH tCLCL tCLCH
44
Am186TMCH HDLC Microcontroller Data Sheet
Table 10.
No. 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 61 62 63 64 65 66 67 68 69 791 80 81 82 85
1 1 1
Numerical Key to Switching Parameter Symbols (Continued)
Parameter Symbol tCHCL tCH1CH2 tCL2CL1 tSRYCL tCLSRY tARYCH tCLARX tARYCHL tARYLCL tINVCH tCLTMV tCHQS0V tCHQS1V tRESIN tHVCL tRHDX tCLRO tCLHAV tCHCZ tCHCV tAVWL tAVRL tCHCSV tCHAV tCICO tCHRFD tCLCLX tCLCSL tCLRF tLRLL tRFCY tLCRF tAVBL tCSHARYL tARYHDV tDSLDD tDSLDV tDSHDIR tDSHDX tRHDZ tARYHDSH tARYLDSH tDVDSL Description CLKOUT High time CLKOUT rise time CLKOUT fall time SRDY transition setup time SRDY transition hold time ARDY resolution transition setup time ARDY active hold time ARDY inactive holding time ARDY setup time Peripheral setup time Timer output delay Queue status 0 output delay Queue status 1 output delay RES setup time HOLD setup RD High to data hold on AD bus Reset delay HLDA valid delay Command lines float delay Command lines valid delay (after float) A address valid to WR Low A address valid to RD Low CLKOUT High to LCS/UCS valid CLKOUT High to A address valid X1 to CLKOUT skew CLKOUT High to RFSH valid LCS inactive delay LCS active delay CLKOUT High to RFSH invalid LCS precharge pulse width RFSH cycle time LCS inactive to RFSH active delay A address valid to WHB, WLB Low Chip select to ARDY Low ARDY assert to data valid DS Low to data driven DS Low to data valid DS High to data invalid--read DS High to data bus turn-off time RD High to data bus turn-off time ARDY High to DS High ARDY Low to DS High Data valid to DS Low
841
1 1
86
87 881 89 90 91 93 94
1 1 1
921
1 1 1
95 97
961
1
Am186TMCH HDLC Microcontroller Data Sheet
45
Table 10.
No. 981 402 403 404 DCE 1 2 3 4 5 6 7 PCM (Slave) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 PCM (Master) tDCFH tDCFL SSI 1 2 3 4 5
Numerical Key to Switching Parameter Symbols (Continued)
Parameter Symbol tDSHDIW tCOLV tCHRAS tCHCAS tTCLKPER tTCLKH tTCLKL tTCLKO tTCLKSU tTCLKHD tTCLKR tCLKP tWH tWL tHCF tDZC tDZF tSUFC tDCD tSUDC tHCD tDCT tDFT tDCLT tHFI tSYNSS tWSYN tDTW tDTZ 1 2 tCLEV tCLSL tDVSH tSHDX tSLDV Description DS High to data invalid--write Column address valid delay Change in RAS delay Change in CAS delay DCE clock period DCE clock High DCE clock Low DCE clock to output delay DCE clock setup DCE clock hold DCE clock rise/fall PCM clock period PCM clock High PCM clock Low Hold time from CLK Low to FSC valid Delay time to valid TXD from CLK Delay time to valid TXD from FSC Setup time for FSC High to CLK Low Delay time from CLK High to TXD valid Setup time from RXD valid to CLK Hold time from CLK Low to RXD invalid Delay to TSC valid from CLK Delay to TSC valid from FSC Delay from CLK Low of last bit to TSC invalid Hold time from CLK Low to FSC invalid Time between successive synchronization pulses FSC width invalid Delay from last bit CLK Low to TXD weak drive Delay from last bit CLK (plus one) High to TXD disable Delay time from CLK High to FSC High Delay time from CLK High to FSC Low CLKOUT Low to SDEN valid CLKOUT Low to SCLK Low Data valid to SCLK High SCLK High to data invalid SCLK Low to data valid
Notes: 1. Specification defined but not in use at this time.
46
Am186TMCH HDLC Microcontroller Data Sheet
Switching Characteristics over Commercial and Industrial Operating Ranges
In this section, the following timings and timing waveforms are shown: s Read (page 47) s Write (page 50) s Software halt (page 53) s Peripheral (page 54) s Reset (page 55) s External ready (page 57) s Bus hold (page 59) s System clocks (page 61) s PCM highway (slave) (page 62) s DCE interface (page 65) s SSI (page 66) s DRAM (page 67) Table 11. Read Cycle Timing1
Preliminary Parameter No. 1 2 3 4 5 6 8 9 10 11 12 13 14 15 16 17 Symbol tDVCL tCLDX tCHSV tCLSH tCLAV tCLAX tCHDX tCHLH tLHLL tCHLL tAVLL tLLAX tAVCH tCLAZ tCLCSV tCXCSX Description Data in setup Data in hold2 25 MHz Min 10 3 0 0 0 0 0 -- tCLCL-10=30 -- 0.5 * tCLCH tCHCL 0 tCLAX=0 0 tCLCH Max -- -- 20 20 20 -- -- 20 -- 20 -- -- -- 20 20 -- 40 MHz Min 5 2 0 0 0 0 0 -- tCLCL-5=20 -- 0.5 * tCLCH tCHCL 0 tCLAX=0 0 tCLCH Max -- -- 12 12 12 -- -- 12 -- 12 -- -- -- 12 12 -- 50 MHz (Commercial Only) Min 5 2 0 0 0 0 0 -- tCLCL-5=15 -- 0.5 * tCLCH tCHCL 0 tCLAX=0 0 tCLCH Max -- -- 10 10 10 -- -- 10 -- 10 -- -- -- 10 10 -- ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns Unit
General Timing Requirements
General Timing Responses Status active delay Status and BHE inactive delay AD address and BHE valid delay Address hold Status hold time ALE active delay ALE width ALE inactive delay AD address valid to ALE Low3 AD address hold from ALE inactive3 AD address valid to clock High AD address float delay MCSx/PCSx active delay MCSx/PCSx hold from command inactive MCSx/PCSx inactive delay DEN/DS inactive to DT/R Low3, 4 Control active delay 1
18 19 20
tCHCSX tDXDL tCVCTV
0 -1 0
20 -- 20
0 -1 0
12 -- 12
0 -1 0
10 -- 10
ns ns ns
Am186TMCH HDLC Microcontroller Data Sheet
47
Table 11.
Parameter No. 21 22 23 Symbol tCVDEX tCHCTV tLHAV Description DEN/DS inactive delay4 Control active delay 2 ALE High to address valid AD address float to RD active RD active delay RD pulse width RD inactive delay RD inactive to ALE High3 RD inactive to AD address active 3 RD High to data hold on AD Bus2 A address valid to RD Low CLKOUT High to LCS/UCS valid CLKOUT High to A address valid
Read Cycle Timing1 (Continued)
Preliminary 25 MHz 40 MHz Max 20 20 -- Min 0 0 7.5 Max 12 12 -- 50 MHz (Commercial Only) Min 0 0 5 Max 10 10 -- ns ns ns Unit
Min 0 0 15
Read Cycle Timing Responses 24 25 26 27 28 29 59 66 67 68 tAZRL tCLRL tRLRH tCLRH tRHLH tRHAV tRHDX tAVRL tCHCSV tCHAV 0 0 2tCLCL-15=65 0 tCLCH-3 tCLCL-10=30 3 1.5tCLCL-15=45 0 0 -- 20 -- 20 -- -- -- -- 20 20 0 0 2tCLCL-10=40 0 tCLCH-2 tCLCL-5=20 2 1.5tCLCL-10= 27.5 0 0 -- 10 -- 12 -- -- -- -- 10 10 0 0 2tCLCL-10=30 0 tCLCH-2 tCLCL-5=15 0 1.5tCLCL-10=20 0 0 -- 10 -- 10 -- -- -- -- 10 10 ns ns ns ns ns ns ns ns ns ns
Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 30, "Pin List Summary," on page A-11. 2. If either specification 2 or specification 59 is met with respect to data hold time, then the device functions correctly. 3. Testing is performed with equal loading on referenced pins. 4. The timing of this signal is the same for a read cycle, whether it is configured to be DEN or DS.
48
Am186TMCH HDLC Microcontroller Data Sheet
T4
T1 14
T2
T3 1 2 tw
T4
CLKOUT 66 68 A19-A0 3 S61 23 13 5 AD15-AD0 12 Addr. 15 6
8
59 24 Data 29
11 9 ALE 27 25 RD 5 BHE 67 LCS, UCS 16 MCS3-MCS0, PCS7-PCS0 19 DEN, DS 22 DT/R 3 S2-S0 4 22 20 21 18 4 26 17 10 28
Notes: 1. S6 is not valid for the first fetch until the timing for parameter 3 (status active delay (t CHSV)) is met.
Figure 15. Read Cycle Waveforms
Am186TMCH HDLC Microcontroller Data Sheet
49
Table 12.
Parameter No. 3 4 5 6 7 8 9 10 11 12 13 14 16 17 Symbol tCHSV tCLSH tCLAV tCLAX tCLDV tCHDX tCHLH tLHLL tCHLL tAVLL tLLAX tAVCH tCLCSV tCXCSX Description Status active delay Status and BHE inactive delay AD address and BHE valid delay Address hold Data valid delay Status hold time ALE active delay ALE width ALE inactive delay AD address valid to ALE Low2 AD address hold from ALE inactive AD address valid to clock High MCSx/PCSx active delay MCSx/PCSx hold from command inactive MCSx/PCSx inactive delay DEN inactive to DT/R2, 3 Control active delay 13,4 DS inactive delay3,4 ALE High to address valid
Write Cycle Timing1
Preliminary 50 MHz (Commercial Only) Max 12 12 12 -- 12 -- 12 -- 12 -- -- -- 12 -- Min 0 0 0 0 0 0 -- tCLCL - 5 = 15 -- 0.5 * tCLCH tCHCL 0 0 tCLCH 10 -- 10 -- -- -- 10 -- Max 10 10 10 -- 10 ns ns ns ns ns ns ns ns ns ns ns ns ns ns
25 MHz Min 0 0 0 0 0 0 -- tCLCL - 10 = 30 -- 0.5 * tCLCH tCHCL 0 0 tCLCH Max 20 20 20 -- 20 -- 20 -- 20 -- -- -- 20 --
40 MHz Min 0 0 0 0 0 0 -- tCLCL - 5 = 20 -- 0.5 * tCLCH tCHCL 0 0 tCLCH
Unit
General Timing Responses
18 19 20 21 23
tCHCSX tDXDL tCVCTV tCVDEX tLHAV
0 -1 0 0 15
20 -- 20 20 --
0 -1 0 0 7.5
12 -- 12 12 --
0 -1 0 0 5
10 -- 10 10 --
ns ns ns ns ns
50
Am186TMCH HDLC Microcontroller Data Sheet
Table 12.
Parameter No. 30 31 32 33 34 35 65 67 68 87 Symbol tCLDOX tCVCTX tWLWH tWHLH tWHDX tWHDEX tAVWL tCHCSV tCHAV tAVBL Description Data hold time Control inactive delay3,4 WR pulse width WR inactive to ALE High2 Data hold after WR2 WR inactive to DEN inactive2,3 A address valid to WR Low CLKOUT High to LCS/UCS valid CLKOUT High to A address valid A address valid to WHB, WLB Low
Write Cycle Timing1 (Continued)
Preliminary 25 MHz 40 MHz Max -- 20 -- -- -- -- -- 20 20 20 Min 0 0 2tCLCL - 10 = 40 tCLCH - 2 tCLCL - 10 = 15 tCLCH tCLCL + tCHCL - 1.25 0 0 tCHCL - 1.25 Max -- 12 -- -- -- -- -- 10 10 12 50 MHz (Commercial Only) Min 0 0 2tCLCL - 10 = 30 tCLCH - 2 tCLCL - 10 = 10 tCLCH tCLCL + tCHCL - 1.25 0 0 tCHCL - 1.25 Max -- 10 -- -- -- -- -- 10 10 10 ns ns ns ns ns ns ns ns ns ns Unit
Min 0 0 2tCLCL - 10 = 70 tCLCH - 2 tCLCL - 10 = 30 tCLCH - 3 tCLCL + tCHCL -3 0 0 tCHCL - 3
Write Cycle Timing Responses
Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 30, "Pin List Summary," on page A-11. 2. Testing is performed with equal loading on referenced pins. 3. The timing of this signal is different during a write cycle depending on whether it is configured to be DEN or DS. 4. This parameter applies to the DEN, DS, WR, WHB, and WLB signals.
Am186TMCH HDLC Microcontroller Data Sheet
51
T4 CLKOUT 87 68 A19-A0 3
T1 14
T2
T3
T4
tw
65
6
8
S6
1
23 5 AD15-AD0
12 Addr. 11
7 13 Data 34 30
9 ALE
10
33
31 20 WR 20 WHB, WLB 5 BHE 67 LCS, UCS 16 MCS3-MCS0, PCS7-PCS0 20 DEN 20 DS 20 DT/R 21 4 31 32
35 17
18 31 19
31 3 S2-S0 4
Notes: 1. S6 is not valid for the first fetch until the timing for parameter 3 (status active delay (tCHSV)) is met.
Figure 16.
Write Cycle Waveforms
52
Am186TMCH HDLC Microcontroller Data Sheet
Table 13. Software Halt Cycle Timing1
Preliminary Parameter No. 3 4 5 9 10 11 19 22 68 Symbol Description tCHSV tCLSH tCLAV tCHLH tLHLL tCHLL tDXDL tCHCTV tCHAV Status active delay Status inactive delay AD address invalid delay ALE active delay ALE width ALE inactive delay DEN inactive to DT/R Low2 Control active delay 23 CLKOUT High to A address invalid 25 MHz Min 0 0 0 -- tCLCL - 10 = 30 -- -1 0 0 Max 20 20 20 20 -- 20 -- 20 20 40 MHz Min 0 0 0 -- tCLCL - 5 = 20 -- -1 0 0 Max 12 12 12 12 -- 12 -- 12 12 50 MHz (Commercial Only) Min 0 0 0 -- tCLCL - 5 = 15 -- -1 0 0 10 10 Max 10 10 10 10 -- 10 ns ns ns ns ns ns ns ns ns Unit
Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 30, "Pin List Summary," on page A-11. 2. Testing is performed with equal loading on referenced pins. 3. This parameter applies to the DEN/DS signal.
T4 CLKOUT 68 A19-A0 5 S6, AD15-AD0
T1
T2
TI
TI
Invalid Address
Invalid Address 11 9 10
ALE
22 19 DEN, DS DT/R 3 S2-S0 4
Figure 17.
Software Halt Cycle Waveforms
Am186TMCH HDLC Microcontroller Data Sheet
53
Table 14. Peripheral Timing1,
Parameter No. 53 54 55 56 Symbol tINVCH tCLTMV tCHQS0V tCHQS1V Description Peripheral setup time Timer output delay Queue status 0 output delay Queue status 1 output delay
2
Preliminary 25 MHz Min 10 -- -- -- Max -- 25 25 25 40 MHz Min 5 -- -- -- Max -- 15 15 15 50 MHz (Commercial Only) Min 5 -- -- -- Max -- 12 12 12 ns ns ns ns Unit
Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 30, "Pin List Summary," on page A-11. 2. PIO outputs change anywhere from the beginning of T3 to the first half of T4 of the bus cycle in which the PIO data register is written.
56 53 CLKOUT INT8-INT0, NMI, TMRINx DRQ0, DRQ1 TMROUT QS0 QS1 54 55
Figure 18.
Peripheral Timing Waveforms
54
Am186TMCH HDLC Microcontroller Data Sheet
Table 15. Reset Timing1
Preliminary Parameter No. 57 61 Symbol tRESIN tCLRO Description RES setup time Reset delay 25 MHz Min 10 -- Max -- 18 40 MHz Min 5 -- Max -- 15 50 MHz (Commercial Only) Min 5 -- Max -- 12 ns ns Unit
Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 30, "Pin List Summary," on page A-11.
57 RES CLKOUT 61 RESOUT
Notes: 1. RES must be held Low for 1 ms during power-up to ensure proper device initialization. 2. Diagram is shown for the system PLL in its 2x mode of operation. 3. Diagram assumes that VCC is stable (i.e., 3.3 V 0.3 V) during the 1-ms RES active time.
Figure 19. Reset Waveforms
Am186TMCH HDLC Microcontroller Data Sheet
55
RES CLKOUT All Pinstrap Pins1,2 AD15-AD01 All Other Outputs RESOUT
Notes: 1. The pinstraps and AD bus are sampled during the assertion of RESOUT for system configuration purposes. 2. See Appendix A, "Reset Configuration Pins (Pinstraps)," on page A-7 for a list of all the pinstraps.
Figure 20.
Signals Related to Reset (System PLL in 1x or 2x Mode)
RES CLKOUT
All Pinstrap Pins1,2 AD15-AD01 All Other Outputs RESOUT
Notes: 1. The pinstraps and AD bus are sampled during the assertion of RESOUT for system configuration purposes. 2. See Appendix A, "Reset Configuration Pins (Pinstraps)," on page A-7 for a list of all the pinstraps.
Figure 21.
Signals Related to Reset (System PLL in 4x Mode)
56
Am186TMCH HDLC Microcontroller Data Sheet
Table 16. External Ready Cycle Timing1
Preliminary Parameter No. 47 48 49 50 51 52 Symbol tSRYCL tCLSRY tARYCH tCLARX tARYCHL tARYLCL Description SRDY transition setup time2 SRDY transition hold time ARDY active hold time ARDY setup time
2 2 2
25 MHz Min 10 3 10 4 10 15 Max -- -- -- -- -- --
40 MHz Min 5 2 5 3 5 5 Max -- -- -- -- -- --
50 MHz (Commercial Only) Min 5 2 5 3 5 5 Max -- -- -- -- -- --
Unit
Ready Timing Requirements ns ns ns ns ns ns
ARDY resolution transition setup time3 ARDY inactive holding time
Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 30, "Pin List Summary," on page A-11. 2. This timing must be met to guarantee proper operation. 3. This timing must be met to guarantee recognition at the clock edge.
Case 11 Case 21 Case Case CLKOUT SRDY Note 1
Note 2
Tw T3 T2 T1 T1
Tw Tw T3 T2 T2 47 48
Tw Tw Tw T3 T3
T4 T4 T4 Tw T4 T4
31 42
Case 51
Notes: 1. Normally not ready system 2. Normally ready system
Figure 22. Synchronous Ready Waveforms
Am186TMCH HDLC Microcontroller Data Sheet
57
Case 11 Case 2
1 1
Tw T3 T2 T1 T1
Tw Tw T3 T2 T2
Tw Tw Tw T3 T3 50
T4 T4 T4 Tw T4 T4
Case 3
Case 42 Case 51 CLKOUT ARDY1 (Normally Not-Ready System) ARDY2 (Normally Ready System)
49 49 51 52 50
Notes: 1. In a normally not ready system, wait states are added after T3 until tARYCH (49) and tCLARX (50) are met. 2. In a normally ready system, a wait state is added if tARYCH (49) and tARYCHL (51) during T2 or tARYLCL (52) and tCLARX (50) during T3 are met.
Figure 23.
Asynchronous Ready Waveforms
58
Am186TMCH HDLC Microcontroller Data Sheet
Table 17. Bus Hold Timing1
Preliminary Parameter No. 5 15 18 58 62 63 64 Symbol tCLAV tCLAZ tCHCSX tHVCL tCLHAV tCHCZ tCHCV Description AD address valid delay AD address float delay MCSx/PCSx inactive delay HOLD setup2 HLDA valid delay Command lines float delay Command lines valid delay (after float) 25 MHz Min 0 0 0 10 0 -- -- Max 20 20 20 -- 20 20 25 40 MHz Min 0 0 0 5 0 -- -- Max 12 12 12 -- 12 12 12 50 MHz (Commercial Only) Min Max 0 10 0 10 0 10 5 -- 0 10 -- 10 -- 10 Unit
ns ns ns ns ns ns ns
Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 30, "Pin List Summary," on page A-11. 2. This timing must be met to guarantee recognition at the next clock.
Case 1 Case 2 CLKOUT 58 HOLD
Ti T4
Ti Ti
Ti Ti
62 HLDA 15 AD15-AD0, DEN 18 MCS3-MCS0, PCS7-PCS0 A19-A0, S6, RD, WR, BHE, DT/R, S2-S0, WHB, WLB, UCS, LCS, ALE 63
Figure 24. Entering Bus Hold Waveforms
Am186TMCH HDLC Microcontroller Data Sheet
59
Case 1 Case 2 CLKOUT 58 HOLD
Ti Ti
Ti Ti
Ti T4
T1 T1
62 HLDA 5
AD15-AD0, DEN MCS3-MCS0, PCS7-PCS0 A19-A0, S6, RD, WR, BHE, DT/R, S2-S0, WHB, WLB, UCS, LCS, ALE 64
Figure 25.
Exiting Bus Hold Waveforms
60
Am186TMCH HDLC Microcontroller Data Sheet
Table 18.
Parameter No. 36 37 38 39 40 Symbol tCKIN tCLCK tCHCK tCKHL tCKLH Description X1 period2 X1 Low time (1.5 V) X1 High time (1.5 V) X1 fall time (3.5 to 1.0 V) X1 rise time (1.0 to 3.5 V) X1 period2 X1 Low time (1.5 V) X1 High time (1.5 V) X1 fall time (3.5 to 1.0 V) X1 rise time (1.0 to 3.5 V) X1 period2 X1 Low time (1.5 V) X1 High time (1.5 V) X1 fall time (3.5 to 1.0 V) X1 rise time (1.0 to 3.5 V) CLKOUT period CLKOUT Low time (CL = 50 pF) CLKOUT High time (CL = 50 pF) CLKOUT rise time (1.0 to 3.5 V) CLKOUT fall time (3.5 to 1.0 V) X1 to CLKOUT skew 80 35 35 -- --
System Clocks Timing1
Preliminary 50 MHz (Commercial Only) Max 125 -- -- 5 5 Min 80 35 35 -- -- Max 125 -- -- 5 5 ns ns ns ns ns
25 MHz Min Max
40 MHz Min 100 45 45 -- --
Unit
CLKIN Requirements for 4x PLL Mode Not Supported
CLKIN Requirements for 2x PLL Mode 36 37 38 39 40 tCKIN tCLCK tCHCK tCKHL tCKLH 125 -- -- 5 5 50 20 20 -- -- 125 -- -- 5 5 40 15 15 -- -- 125 -- -- 5 5 ns ns ns ns ns
CLKIN Requirements for 1x PLL Mode 36 37 38 39 40 tCKIN tCLCK tCHCK tCKHL tCKLH 40 15 15 -- -- 60 -- -- 5 5 25 7.5 7.5 -- -- 60 -- -- 5 5 Not Supported ns ns ns ns ns
CLKOUT Timing3 42 43 44 45 46 69 tCLCL tCLCH tCHCL tCH1CH2 tCL2CL1 tCICO 40 0.5tCLCL-2 =18 0.5tCLCL-2 =18 -- -- -- -- -- -- 3 3 10 25 0.5tCLCL-1.25 =11.25 0.5tCLCL-1.25 =11.25 -- -- -- -- -- -- 3 3 10 20 0.5tCLCL-1 = 9 0.5tCLCL-1 = 9 -- -- -- -- -- -- 3 3 10 ns ns ns ns ns ns
Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 30, "Pin List Summary," on page A-11. 2. Testing is performed with equal loading on referenced pins. 3. The PLL requires a maximum of 1 ms to achieve lock after all other operating conditions (VCC) are stable, which is normally achieved by holding RES active for at least 1 ms.
Am186TMCH HDLC Microcontroller Data Sheet
61
X2
36 37 38
X1
40 39 46 45
CLKOUT
69 42 44 43
Figure 26.
System Clocks Waveforms--Active Mode (PLL 1x Mode)
Table 19. PCM Highway Timing (Timing Slave)1,
Parameter No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Symbol tCLKP tWH tWL tHCF tDZC tDZF tSUFC tDCD tSUDC tHCD tDCT tDFT tDCLT tHFI tSYNSS tWSYN tDTW3 tDTZ Description PCM clock period PCM clock High PCM clock Low Hold time from CLK Low to FSC valid Delay time to valid TXD from CLK Delay time to valid TXD from FSC Setup time for FSC High to CLK Low Delay time from CLK High to TXD valid Setup time from RXD valid to CLK Hold time from CLK Low to RXD invalid Delay to TSC valid from CLK Delay to TSC valid from FSC Delay from CLK Low of last bit to TSC invalid Hold time from CLK Low to FSC invalid Time between successive synchronization pulses FSC width invalid Delay from last bit CLK Low to TXD weak drive Delay from last bit CLK (plus 1) High to TXD disable
2
Preliminary Min 200 80 80 0 1 1 35 1 35 5 1 1 1 0 16 8 1 1 Max -- -- -- -- 25 25 -- 25 -- -- 25 25 25 -- -- -- 25 25
Unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns CLK CLK ns ns
Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 30, "Pin List Summary," on page A-11. 2. TXD becomes valid after the CLK rising edge or FSC enable, whichever is later. 3. During the second half of the last bit transmittal, TXD is driven weak so that other devices can safely drive during this time.
62
Am186TMCH HDLC Microcontroller Data Sheet
15 1 7 4
PCM_CLK_x
16 8 14 2 2 3 3 10 4 9 17 n n+1 18
6 5 1
PCM_FSC_x PCM_TXD_x PCM_RXD_x 11 PCM_TSC_x 12
13
Notes: The PCM_TXD_x outputs three-state. In the signal description and pin list summary tables, PCM_TXD_x is listed as O-LS-OD (totem pole output/programmable to hold last state of pin/open drain output) because of the following design characteristic: On the last bit to be transmitted in PCM Highway mode, PCM_TXD_x will be driven normally during the first 1/2 bit time. During the last 1/2 bit time of the last bit of the transmission, PCM_TXD_x control will be in the hold-last-state condition (LS). In this condition, the output is driven, but at a much weaker strength. This permits another device (external to the microcontroller) to start driving during this time without bus contention problems. After this 1/2 bit time of hold-last-state condition, the PCM_TXD_x pin will be fully three-stated. In some applications, several PCM Highway devices may have their PCM_TXD pins tied together. The time slot assigners should be programmed so that only one device is active at any time. The PCM_TSC_x signal permits external bus drivers, possibly to go external to the board. Each PCM_TSC_x signal is opendrain so that multiple PCM_TSC_x pins can be connected together. For example, two AM186CH microcontrollers could be connected on the same PCM Highway and (with proper configuration of the time slot assigners) could occupy different time slots. An external bus driver would need to be active for both AM186CH time slots. The open drain on the PCM_TSC_x pins permits them to be wired together to achieve this.
Figure 27.
PCM Highway Waveforms (Timing Slave)
Am186TMCH HDLC Microcontroller Data Sheet
63
Table 20.
No. 1 2 Symbol tDCFH tDCFL Description
PCM Highway Timing (Timing Master)1
Preliminary Min 0 0 Max 30 30 Unit ns ns
Parameter Delay time from CLK High to FSC High Delay time from CLK High to FSC Low
Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 30, "Pin List Summary," on page A-11.
1 PCM_CLK_x
2
PCM_FSC_x
Figure 28.
PCM Highway Waveforms (Timing Master)
64
Am186TMCH HDLC Microcontroller Data Sheet
Table 21. DCE Interface Timing1,
Parameter No. 1 2 3 4 5 6 7 Symbol tTCLKPER tTCLKH tTCLKL tTCLKO tTCLKSU tTCLKHD tTCLKR Description DCE clock period DCE clock High DCE clock Low DCE clock to output delay DCE clock setup DCE clock hold DCE clock rise/fall
2
Preliminary Min 95 40 40 1 15 5 -- Max -- -- -- 20 -- -- 10
Unit ns ns ns ns ns ns ns
Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 30, "Pin List Summary," on page A-11. 2. Timings are shown with TCLK and RCLK in the default mode without the optional clock inversion.
7 DCE_TCLK_x 1 2 3
7
DCE_TXD_x
4
4
5 DCE_CTS_x
6
Figure 29.
DCE Transmit Waveforms
7 DCE_RCLK_x 1 2 3
7
DCE_RXD_x
5
6
5
DCE_RTR_x
4
4
Figure 30.
DCE Receive Waveforms
Am186TMCH HDLC Microcontroller Data Sheet
65
Table 22.
Parameter No. 1 2 3 4 5 Symbol tCLEV tCLSL tDVSH tSHDX tSLDV Description CLKOUT Low to SDEN valid CLKOUT Low to SCLK Low Data valid to SCLK High SCLK High to data invalid SCLK Low to data valid
SSI Timing1
Preliminary 25 MHz Min 0 0 10 3 -- Max 20 20 -- -- 20 40 MHz Min 0 0 5 2 -- Max 12 15 -- -- 12 50 MHz (Commercial Only) Min 0 0 5 2 -- Max 10 12 -- -- 10 ns ns ns ns ns Unit
Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 30, "Pin List Summary," on page A-11.
CLKOUT 1 SDEN 2 2 SCLK 4 SDATA (RX) 5 SDATA (TX) 3
Notes: 1. SDEN is configured to be active High. 2. SCLK is configured to be CLKOUT/2. 3. Waveforms are shown for "normal" clock mode (i.e., transmit on negative edge of SCLK and receive on positive edge of SCLK).
Figure 31.
SSI Waveforms
66
Am186TMCH HDLC Microcontroller Data Sheet
Table 23.
Parameter No. 1 2 5 7 15 20 25 27 30 31 68 402 403 404 Symbol tDVCL tCLDX tCLAV tCLDV tCLAZ tCVCTV tCLRL tCLRH tCLDOX tCVCTX tCHAV tCOLV tCHRAS tCHCAS Data in hold AD address valid delay Data valid delay AD address float delay Control active delay 1 RD active delay RD inactive delay Data hold time Control inactive delay CLKOUT High to A address valid Column address valid delay Change in RAS delay Change in CAS delay Description Data in setup
DRAM Timing1
Preliminary 25 MHz Min 10 3 0 0 0 0 0 0 0 0 0 0 3 3 Max -- -- 20 20 20 20 20 20 -- 20 20 20 20 20 40 MHz Min 5 2 0 0 0 0 0 0 0 0 0 0 3 3 Max -- -- 12 12 12 12 12 12 -- 12 12 12 12 12 50 MHz (Commercial Only) Min 5 2 0 0 0 0 0 0 0 0 0 0 3 3 Max -- -- 10 10 10 10 10 10 -- 10 10 10 10 10 ns ns ns ns ns ns ns ns ns ns ns ns ns ns Unit
Notes: 1. All timing parameters are measured at VCC/2 with 50-pF loading on CLKOUT unless otherwise noted. All output test conditions are with the load values shown in Table 30, "Pin List Summary," on page A-11.
Am186TMCH HDLC Microcontroller Data Sheet
67
T4
T1
T2
T3 1
T4
2 CLKOUT 5 AD15-AD0 68 A17, A15, A13, A11, A9, A7, A5, A3, A1 Row 403 RAS0, RAS1 404 CAS0, CAS1 25 RD 27 404 Addr. 402 Column 403 15 Data
Figure 32.
DRAM Read Cycle without Wait States Waveform
T4
T1
T2
TW
T3 1
T4
2 CLKOUT 5 AD15-AD0 68 A17, A15, A13, A11, A9, A7, A5, A3, A1 Row 403 RAS0, RAS1 404 CAS0, RAS1 25 RD 27 404 Addr. 402 Column 403 15 DATA
Figure 33.
DRAM Read Cycle with Wait States Waveform
68
Am186TMCH HDLC Microcontroller Data Sheet
T4
T1
T2
T3
T4
CLKOUT 5 AD15-AD0 68 A17, A15, A13, A11, A9, A7, A5, A3, A1 RAS0, RAS1 404 CAS0, CAS1 20 WR 31 404 Row 403 Addr. 7 Data 402 Column 403 30
Figure 34. DRAM Write Cycle without Wait States Waveform
T4
T1
T2
TW
T3
T4
CLKOUT 5 AD15-AD0 68 A17, A15, A13, A11, A9, A7, A5, A3, A1 RAS0, RAS1 404 CAS0, CAS1 20 WR 31 404 Row 403 Addr. 402 Column 403 7 30 Data
Figure 35. DRAM Write Cycle with Wait States Waveform
Am186TMCH HDLC Microcontroller Data Sheet
69
T4
T1
T2
TW1
TW2
TW3
T3
T4
CLKOUT 5 AD15-AD0 68 A17, A15, A13, A11, A9, A7, A5, A3, A1 Row (Invalid) 403 RAS0, RAS1 404 CAS0, CAS1 25 RD 27 404 Addr. 402 Column (Invalid) 403 15
Figure 36.
DRAM Refresh Cycle Waveform
70
Am186TMCH HDLC Microcontroller Data Sheet
APPENDIX A--PIN TABLES
This appendix contains pin tables for the AM186CH HDLC microcontroller. Several different tables are included with the following characteristics: s Power-on reset (POR) pin defaults including pin numbers and multiplexed functions--Table 24 on page A-2. s Multiplexed page A-5. signal trade-offs--Table 25 options--Table 26 on on For pin tables showing pins sorted by pin number and signal name, respectively, see Table 1, "PQFP Pin Assignments--Sorted by Pin Number" on page 10 and Table 2, "PQFP Pin Assignments--Sorted by Signal Name" on page 11. For s ign al de sc r ipti ons, se e Tabl e 4, " Si gna l Descriptions" on page 13. In all tables the brackets, [ ], indicate alternate, multiplexed functions, and braces, { }, indicate reset configuration pins (pinstraps). The line over a pin name indicates an active Low. The word pin refers to the physical wire; the word signal refers to the electrical signal that flows through it.
s Pinstraps and page A-7.
pinstrap
s Programmable I/O pins ordered by PIO pin number and multiplexed signal name, respectively, including pin numbers, multiplexed functions, and pin configurations following system reset--Table 27 on page A-8 and Table 28 on page A-9. s Pin and signal summary showing signal name and alternate function, pin number, I/O type, maximum load values, POR default function, reset state, POR default operation, hold state, and voltage column-- Table 30 on page A-11.
Am186TMCH HDLC Microcontroller Data Sheet
A-1
Table 24.
POR Default Bus Interface Unit A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15 A16 A17 A18 A19 AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7 AD8 AD9 AD10 AD11 AD12 AD13 AD14 AD15 ALE ARDY BHE BSIZE8 DEN DRQ1 DT/R HLDA HOLD RD S0 S1 S2 30 31 32 36 37 42 43 44 45 49 50 64 65 69 70 84 85 88 89 90 28 34 38 46 51 66 86 92 29 35 39 47 52 67 87 93 19 14 20 94 18 105 17 98 99 97 57 56 55 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- DS -- -- -- -- -- -- -- -- Pin Number Multiplexed Signal
Power-On Reset (POR) Pin Defaults1
Multiplexed Signal -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Multiplexed Signal -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- PIO Pinstrap
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- PIO33 PIO8 PIO34 -- PIO30 -- PIO29 -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- {ADEN} -- -- -- -- -- {CLKSEL1} -- -- -- --
A-2
Am186TMCH HDLC Microcontroller Data Sheet
Table 24.
POR Default Pin Number 54 15 95 96 16
Power-On Reset (POR) Pin Defaults1 (Continued)
Multiplexed Signal -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Multiplexed Signal -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- PIO -- PIO35 -- -- PIO15 -- -- -- PIO13 PIO14 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Pinstrap -- -- -- -- -- -- -- -- -- -- -- -- -- {ONCE} -- -- -- -- -- -- -- -- -- -- -- --
S6 SRDY WHB WLB WR Chip Selects LCS 131 RAS0 127 CAS1 MCS1 MCS2 128 CAS0 PCS0 5 -- 6 -- PCS1 PCS2 7 -- PCS3 8 -- 132 -- UCS Reset/Clocks CLKOUT 60 -- RES 114 -- RESOUT 58 -- X1 73 -- X2 74 -- Interrupts INT0 107 -- INT1 109 -- INT2 110 -- INT3 111 -- INT4 112 -- INT5 113 -- NMI 115 -- Synchronous Communications Interfaces Channel A (DCE) DCE_RXD_A 118 PCM_RXD_A DCE_TXD_A 119 PCM_TXD_A DCE_RCLK_A 117 PCM_CLK_A DCE_TCLK_A 116 PCM_FSC_A High-Speed UART TXD_HU 26 -- Debug Support QS0 62 -- QS1 63 -- PIOs PIO0 144 TMRIN1 PIO1 143 TMROUT1 PIO2 10 PCS5 PIO3 9 PCS4 PIO4 126 MCS0 PIO5 129 MCS3 PIO6 147 INT8 PIO7 146 INT7 PIO9 124 DRQ0 PIO10 2 SDEN
Multiplexed Signal -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- RAS1 PWD -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- {CLKSEL2} {UCSX8} -- -- -- -- --
Am186TMCH HDLC Microcontroller Data Sheet
A-3
Table 24.
POR Default PIO11 PIO12 PIO16 PIO17 PIO18 PIO19 PIO20 PIO21 PIO22 PIO23 PIO24 PIO25 PIO26 PIO27 PIO28 PIO31 PIO32 PIO36 PIO37 PIO38 PIO39 PIO40 PIO41 PIO42 PIO43 PIO44 PIO45 PIO46 PIO47 Reserved RSVD_104 RSVD_103 RSVD_102 RSVD_101 RSVD_81 RSVD_80 RSVD_76 RSVD_75 Pin Number 3 4 25 123 122 145 159 22 150 149 157 156 158 142 141 13 11 138 139 137 136 135 134 153 154 152 151 24 23 104 103 102 101 81 80 76 75
Power-On Reset (POR) Pin Defaults1 (Continued)
Multiplexed Signal -- -- -- PCM_TSC_A -- -- -- -- -- -- -- -- -- -- -- -- -- PCM_RXD_B PCM_TXD_B PCM_TSC_B -- PCM_CLK_B PCM_FSC_B -- -- -- -- -- -- -- -- -- -- -- -- -- -- Multiplexed Signal -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- PIO Pinstrap -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Multiplexed Signal SCLK SDATA RXD_HU DCE_CTS_A DCE_RTR_A INT6 TXD_U UCLK -- -- CTS_U RTR_U RXD_U TMRIN0 TMROUT0 PCS7 PCS6 DCE_RXD_B DCE_TXD_B DCE_CTS_B DCE_RTR_B DCE_RCLK_B DCE_TCLK_B -- -- -- -- CTS_HU RTR_HU -- -- -- -- -- -- -- --
Notes: 1. For default reset functions and pin states refer to Table 30, "Pin List Summary," on page A-11.
A-4
Am186TMCH HDLC Microcontroller Data Sheet
Table 25. Multiplexed Signal Trade-Offs
DESIRED FUNCTION Interface Memory SRAM LCS MCS1 MCS2 MCS3 CAS0 DRAM CAS1 RAS0 RAS1 DCE Channel A DCE_RXD_A DCE_TXD_A DCE_RCLK_A DCE_TCLK_A DCE_CTS_A DCE_RTR_A DCE Channel B DCE_RXD_B DCE_TXD_B DCE_RCLK_B DCE_TCLK_B DCE_CTS_B DCE_RTR_B PCM Channel A PCM_RXD_A PCM_TXD_A PCM_CLK_A PCM_FSC_A PCM_TSC_A PCM Channel B PCM_RXD_B PCM_TXD_B PCM_CLK_B PCM_FSC_B PCM_TSC_B LowSpeed UART RXD_U TXD_U RTR_U CTS_U HighSpeed UART RXD_HU RTR_HU CTS_HU 131 127 128 129 128 127 131 129 118 119 117 116 123 122 138 139 135 134 137 136 118 119 117 116 123 138 139 135 134 137 158 159 156 157 25 23 24 -- -- -- -- -- -- -- DCE Channel B DCE Channel A PCM Channel B PCM Channel A SRAM DRAM RAS0 CAS1 CAS0 RAS1 MCS2 MCS1 LCS MCS3 PCM_RXD_A PCM_TXD_A PCM_CLK_A PCM_FSC_A PCM_TSC_A -- PCM_RXD_B PCM_TXD_B PCM_CLK_B PCM_FSC_B PCM_TSC_B -- DCE_RXD_A DCE_TXD_A DCE_RCLK_A DCE_TCLK_A DCE_CTS_A DCE_RXD_B DCE_TXD_B DCE_RCLK_B DCE_TCLK_B DCE_CTS_B -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- PIO PIO PIO PIO PIO -- -- -- -- PIO PIO -- -- -- PIO5 -- -- -- PIO5 -- -- -- -- PIO17 PIO18 PIO36 PIO37 PIO40 PIO41 PIO38 PIO39 -- -- -- -- PIO17 PIO36 PIO37 PIO40 PIO41 PIO38 PIO26 PIO20 PIO25 PIO24 PIO16 PIO47 PIO46 Name Pin LOST FUNCTION Interface Name Interface Name Interface Name Interface Name
Synchronous Communications Interfaces
Miscellaneous Bus Interface PIOs PIO0 PIO1 PIO2 PIO3 PIO4 PIO5 144 143 10 9 126 129 TMRIN1 TMROUT1 PCS5 PCS4 MCS0 MCS3 RAS1 -- -- -- -- -- -- -- -- -- -- -- DEN DS 18 18 Bus Interface DS DEN -- -- -- -- -- -- -- -- -- -- PIO30 PIO30
Am186TMCH HDLC Microcontroller Data Sheet
A-5
Table 25. Multiplexed Signal Trade-Offs (Continued)
DESIRED FUNCTION Interface Name PIO6 PIO7 PIO8 PIO9 PIO10 PIO11 PIO12 PIO13 PIO14 PIO15 PIO16 PIO17 PIO18 PIO19 PIO20 PIO21 PIO22 PIO23 PIO24 PIO25 PIO26 PIO27 PIO28 PIO29 PIO30 PIO31 PIO32 PIO33 PIO34 PIO35 PIO36 PIO37 PIO38 PIO39 PIO40 PIO41 PIO42 PIO43 PIO44 PIO45 PIO46 PIO47 Pin 147 146 14 124 2 3 4 5 6 16 25 123 122 145 159 22 150 149 157 156 158 142 141 17 18 13 11 19 20 15 138 139 137 136 135 134 153 154 152 151 24 23 LOST FUNCTION Interface Name INT8 INT7 ARDY DRQ0 SDEN SCLK SDATA PCS0 PCS1 WR RXD_HU DCE_CTS_A DCE_RTR_A INT6 TXD_U UCLK -- -- CTS_U RTR_U RXD_U TMRIN0 TMROUT0 DT/R DEN PCS7 PCS6 ALE BHE SRDY DCE_RXD_B DCE_TXD_B DCE_CTS_B DCE_RTR_B DCE_RCLK_B DCE_TCLK_B -- -- -- -- CTS_HU RTR_HU DS -- -- -- -- -- PCM_RXD_B PCM_TXD_B PCM_TSC_B -- PCM_CLK_B PCM_FSC_B -- -- -- -- -- -- Interface Name PWD -- -- -- -- -- -- -- -- -- -- PCM_TSC_A -- -- -- -- -- -- -- -- -- -- -- -- Interface Name -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Interface Name
A-6
Am186TMCH HDLC Microcontroller Data Sheet
Table 26.
Signal Name {ADEN} Multiplexed Signal(s) BHE PIO34
Reset Configuration Pins (Pinstraps)1
Description Address Enable: If {ADEN} is held High or left floating during power-on reset, the address portion of the AD bus (AD15-AD0) is enabled or disabled during LCS, UCS, or other memory bus cycles based on how the software configures the DA bit setting. In this case, the memory address is accessed on the A19-A0 pins. There is a weak internal pullup resistor on {ADEN} so no external pullup is required. This mode of operation reduces power consumption. If {ADEN} is held Low on power-on reset, the AD bus drives both addresses and data, regardless of how software configures the DA bit setting.
{CLKSEL1}
HLDA
CPU PLL Mode Select 1 determines the PLL mode for the system clock source. CPU PLL Mode Select 2 is sampled on the rising edge of reset and determines the PLL mode for the system clock source. This pin has an internal pullup resistor that is active only during reset. There are four CPU PLL modes that are selected by the values of {CLKSEL1} and {CLKSEL2} as shown below. (For details on clocks see "Clock Generation and Control" on page 33.)
{CLKSEL2}
[PCS4] PIO3
CPU PLL Modes
{CLKSEL1} 1 1 0 0 {ONCE} UCS {CLKSEL2} 1 0 1 0 CPU PLL Mode 2X, CPU PLL enabled (default) 4X, CPU PLL enabled 1X, CPU PLL enabled PLL Bypass
ONCE Mode Request asserted Low places the AM186CH HDLC microcontroller into ONCE mode. Otherwise, the controller operates normally. In ONCE mode, all pins are three-stated and remain in that state until a subsequent reset occurs. To guarantee that the controller does not inadvertently enter ONCE mode, {ONCE} has a weak internal pullup resistor that is active only during a reset. A reset ending ONCE mode should be as long as a power-on reset so that the PLL will stabilize. Upper Memory Chip Select, 8-Bit Bus asserted Low configures the upper chip select region for an 8-bit bus size. This pin has a pullup resistor that is active only during reset, so no external pullup is required to set the bus to 16-bit mode.
{UCSX8}
[MCS0] PIO4
Notes: 1. A pinstrap is used to enable or disable features based on the state of the pin during an external reset. The pinstrap must be held in its desired state for at least 4.5 clock cycles after the deassertion of RES. The pinstraps are sampled in an external reset only (when RES is asserted), not during an internal watchdog timer-generated reset.
Am186TMCH HDLC Microcontroller Data Sheet
A-7
Table 27.
PIO No.
PIO0 PIO1 PIO2 PIO3 PIO4 PIO5 PIO6 PIO7 PIO8 PIO9 PIO10 PIO11 PIO12 PIO13 PIO14 PIO15 PIO16 PIO17 PIO18 PIO19 PIO20 PIO21 PIO22 PIO23 PIO24 PIO25 PIO26 PIO27 PIO28 PIO29 PIO30 PIO31 PIO32 PIO33 PIO34 PIO35 PIO36 PIO37 PIO38 PIO39 PIO40 PIO41 PIO42 PIO43 PIO44 PIO45 PIO46 PIO47
PIOs Sorted by PIO Number
Multiplexed Signal
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Pin No.
144 143 10 9 126 129 147 146 14 124 2 3 4 5 6 16 25 123 122 145 159 22 150 149 157 156 158 142 141 17 18 13 11 19 20 15 138 139 137 136 135 134 153 154 152 151 24 23
Multiplexed Signal
TMRIN1 TMROUT1 PCS5 PCS4 MCS0 MCS3 INT8 INT7 ARDY DRQ0 SDEN SCLK SDATA PCS0 PCS1 WR RXD_HU DCE_CTS_A DCE_RTR_A INT6 TXD_U UCLK -- -- CTS_U RTR_U RXD_U TMRIN0 TMROUT0 DT/R DEN PCS7 PCS6 ALE BHE SRDY DCE_RXD_B DCE_TXD_B DCE_CTS_B DCE_RTR_B DCE_RCLK_B DCE_TCLK_B -- -- -- -- CTS_HU RTR_HU
Multiplexed Signal
-- -- -- -- -- RAS1 PWD -- -- -- -- -- -- -- -- -- -- PCM_TSC_A -- -- -- -- -- -- -- -- -- -- -- -- DS -- -- -- -- -- PCM_RXD_B PCM_TXD_B PCM_TSC_B -- PCM_CLK_B PCM_FSC_B -- -- -- -- -- --
Pin Configuration Following System Reset1
Input with pullup Input with pulldown Input with pullup Input with pullup Input with pullup Input with pullup Input with pullup Input with pullup Alternate operation2 Input with pulldown Input with pulldown Input with pullup Input with pullup Alternate operation2 Alternate operation2 Alternate operation2 Input with pullup Input with pullup Input with pullup Input with pullup Input with pullup Input with pullup Input with pulldown Input with pulldown Input with pullup Input with pullup Input with pullup Input with pullup Input with pulldown Alternate operation2 Alternate operation2 Input with pullup Input with pullup Alternate operation3 Alternate operation2 Alternate operation2 Input with pullup Input with pullup Input with pullup Input with pullup Input with pullup Input with pullup Input with pulldown Input with pulldown Input with pullup Input with pullup Input with pullup Input with pullup
Notes: 1. System reset is defined as a power-on reset (i.e., the RES input pin transitioning from its Low to High state) or a reset due to a watchdog timer timeout. 2. When used as a PIO, input with pullup option available. 3. When used as a PIO, input with a pulldown option available.
A-8
Am186TMCH HDLC Microcontroller Data Sheet
Table 28.
Signal
ALE ARDY BHE CTS_HU CTS_U DCE_CTS_A DCE_CTS_B DCE_RCLK_B DCE_RTR_A DCE_RTR_B DCE_RXD_B DCE_TCLK_B DCE_TXD_B DEN DRQ0 DT/R INT6 INT7 INT8 MCS0 MCS3 PCS0 PCS1 PCS4 PCS5 PCS6 PCS7 PIO22 PIO23 PIO42 PIO43 PIO44 PIO45 RTR_HU RTR_U RXD_HU RXD_U SCLK SDATA SDEN SRDY TMRIN0 TMRIN1 TMROUT0 TMROUT1 TXD_U UCLK UCLK WR
PIOs Sorted by Signal Name
Multiplexed Signal
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
PIO No.
PIO33 PIO8 PIO34 PIO46 PIO24 PIO17 PIO38 PIO40 PIO18 PIO39 PIO36 PIO41 PIO37 PIO30 PIO9 PIO29 PIO19 PIO7 PIO6 PIO4 PIO5 PIO13 PIO14 PIO3 PIO2 PIO32 PIO31 -- -- -- -- -- -- PIO47 PIO25 PIO16 PIO26 PIO11 PIO12 PIO10 PIO35 PIO27 PIO0 PIO28 PIO1 PIO20 PIO21 PIO21 PIO15
Pin No.
19 14 20 24 157 123 137 135 122 136 138 134 139 18 124 17 145 146 147 126 129 5 6 9 10 11 13 150 149 153 154 152 151 23 156 25 158 3 4 2 15 142 144 141 143 159 22 22 16
Multiplexed Signal
-- -- -- -- -- PCM_TSC_A PCM_TSC_B PCM_CLK_B -- -- PCM_RXD_B PCM_FSC_B PCM_TXD_B DS -- -- -- -- PWD -- RAS1 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Pin Configuration Following System Reset1
Alternate operation2 Alternate operation3 Alternate operation3 Input with pullup Input with pullup Input with pullup Input with pullup Input with pullup Input with pullup Input with pullup Input with pullup Input with pullup Input with pullup Alternate operation3 Input with pulldown Alternate operation3 Input with pullup Input with pullup Input with pullup Input with pullup Input with pullup Alternate operation3 Alternate operation3 Input with pullup Input with pullup Input with pullup Input with pullup Input with pulldown Input with pulldown Input with pulldown Input with pulldown Input with pullup Input with pullup Input with pullup Input with pullup Input with pullup Input with pullup Input with pullup Input with pullup Input with pulldown Alternate operation3 Input with pullup Input with pullup Input with pulldown Input with pulldown Input with pullup Input with pullup Input with pullup Alternate operation3
Notes: 1. System reset is defined as a power-on reset (i.e., the RES input pin transitioning from its Low to High state) or a reset due to a watchdog timer timeout. 2. When used as a PIO, input with a pulldown option available. 3. When used as a PIO, input with a pullup option available.
Am186TMCH HDLC Microcontroller Data Sheet
A-9
Pin List Table Column Definitions
The following paragraphs describe the individual columns of information in Table 30, "Pin List Summary," on page A-11. The pins are grouped alphabetically by function. Note: All maximum delay numbers should be increased by 0.035 ns for every pF of load (up to a maximum of 150 pF) over the maximum load specified in Table 30.
Type [] {} B H LS O OD OD-O PD PU STI
Table 29. Pin List Table Definitions
Definition Pin alternate function Pinstrap pin Bidirectional High Programmable to hold last state of pin Totem pole output Open drain output Open drain output or totem pole output Internal pulldown resistor Internal pullup resistor Schmitt trigger Input Schmitt trigger input or open drain output Three-state output
Column #1--Signal Name, [Alternate Function], {Pinstrap}
This column denotes the primar y and alternate functions of the pins. Most of the pins that have alternate functions are configured for these functions via firmware modifying values in the Peripheral Control Block. Refer to the Am186TMCC/CH/CU Microcontrollers Register Set Manual, order #21916, for full documentation of this process. Brackets, [ ], are used to indicate the alternate, multiplexed function of a pin (i.e., not power-on reset default). Braces, { }, are used to indicate the functionality of a pin only during a processor reset. These signals are called pinstraps. To select the desired configuration, the pinstraps are terminated internally with pullup resistors or externally with pulldown resistors. Their state is sampled during a processor reset and latched on the rising edge of reset. The signals must be held in the desired state for 4.5 system clock cycles after the deassertion of reset. Based on the pinstrap's state at the time they are latched, certain features of the AM186CH HDLC microcontroller are enabled or d i s a bl e d . A l l ex t e r n a l t e r m i n a t i o n s h o u l d b e implemented with 10-Kohm resistors on these signals. T h e pi ns tr a p s a r e l i s t e d i n Ta bl e 2 6 , " R e s e t Configuration Pins (Pinstraps)," on page A-7.
STI-OD TS
Column #4--Max Load (pF)
The Max Load column designates the capacitive load at which the I/O timing for that pin is guaranteed.
Column #5--POR Default Function
The POR Default Function column shows the status of these pins after a power-on reset. In some cases the pin is the function outlined in the "Signal Name" column of the table. The signal name is listed in the POR Default Function column if the signal is the default function and not a PIO after a processor reset. In other cases the pin is a PIO configured as an input.
Column #6--Reset State
The Reset State column indicates the termination present on the signal at reset (pullup or pulldown) and indicates whether the signal is a three-stated output or a Sc hmitt tr igger input. Refer to Table 29 for abbreviations used in this column.
Column #7--POR Default Operation
The POR Default Operation column describes the type of input and/or output that is default pin operation. Refer to Table 29 for abbreviations used in this column.
Column #2--Pin No.
The pin number column identifies the pin number of the individual I/O signal on the package.
Column #3--Type
Definitions of the abbreviations in the Type column are shown in Table 29.
Column #8--Hold State
The Hold State column shows the state of the pin in hold state. Refer to Table 29 for abbreviations used in this column.
Column #9--5 V
A "5 V" in the 5-V column indicates 5-V tolerant inputs. These inputs are not damaged and do not draw excess power when driven with levels up to VCC + 2.6 volts. These pins only drive to VCC.
A-10
Am186TMCH HDLC Microcontroller Data Sheet
Table 30.
Signal Name [Alternate Function] {Pinstrap} A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15 A16 A17 A18 A19 AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7 AD8 AD9 AD10 AD11 AD12 AD13 AD14 AD15 ALE [PIO33] ARDY [PIO8] Pin No. Type Max Load (pF)
Pin List Summary
POR Default Function Reset State POR Default Operation Hold State 5V
BUS INTERFACE/GENERAL-PURPOSE DMA REQUEST 30 31 32 36 37 42 43 44 45 49 50 64 65 69 70 84 85 88 89 90 28 34 38 46 51 66 86 92 29 35 39 47 52 67 87 93 19 14 O O O O O O O O O O O O O O O O O O O O B B B B B B B B B B B B B B B B O STI-PD [STI] [O] STI-PU STI-PU [STI] [O] 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 70 50 50 A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15 A16 A17 A18 A19 AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7 AD8 AD9 AD10 AD11 AD12 AD13 AD14 AD15 ALE ARDY TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD STI-PU O O O O O O O O O O O O O O O O O O O O B B B B B B B B B B B B B B B B O STI-PU TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS-PD TS TS TS TS TS TS TS TS TS TS TS TS TS TS TS TS TS-PD STI 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V
Am186TMCH HDLC Microcontroller Data Sheet
A-11
Table 30. Pin List Summary (Continued)
Signal Name [Alternate Function] {Pinstrap} BHE [PIO34] {ADEN} BSIZE8 DEN [DS] [PIO30] [DRQ0] PIO9 DRQ1 DT/R [PIO29] HLDA {CLKSEL1} HOLD RD S0 S1 S2 S6 SRDY [PIO35] WHB WLB WR [PIO15] CHIP SELECTS LCS [RAS0] [MCS0] PIO4 {UCSX8} MCS1 [CAS1] MCS2 [CAS0] [MCS3] [RAS1] PIO5 PCS0 [PIO13] PCS1 [PIO14] PCS2 PCS3 131 O O O STI-PU [STI] [O] STI O O O O O O STI-PU [STI] [O] O STI-PU [STI] [O] O STI-PU [STI] [O] O O 50 LCS TS-PU O TS-PU 5V Pin No. Type Max Load (pF) POR Default Function Reset State POR Default Operation Hold State 5V
20 94 18
O STI-PU [STI] [O] STI O O O STI-PU [STI] [O] STI-PD STI-PD [STI] [O] STI-PD O STI-PU [STI] [O] O STI STI O O O O O STI-PU STI-PU [STI] [O] O O O STI-PU [STI] [O]
50 50 50
BHE BSIZE8 DEN
STI-PU TS-PU TS-PU
O O O
TS-PU -- TS-PU
5V -- 5V
124 105 17 98 99 97 57 56 55 54 15 95 96 16
50 -- 50 50 -- 70 50 50 50 50 50 70 70 50
PIO9 DRQ1 DT/R HLDA HOLD RD S0 S1 S2 S6 SRDY WHB WLB WR
STI-PD STI-PD TS-PU STI-PU STI-PD TS-PU STI-PU TS-PU TS-PU TS-PD STI-PU TS-PU TS-PU STI-PU
STI-PD [STI] [O] STI-PD O O STI O O O O O STI-PU O O O
-- -- TS-PU H H TS-PU TS TS TS TS -- TS-PU TS-PU TS-PU
5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V 5V
126
50
PIO4
STI-PU
STI-PU [STI] [O]
TS-PU
5V
127 128
50 50
MCS1 MCS2
TS-PU TS-PU
O O
TS-PU TS-PU
5V 5V
129
50
PIO5
STI-PU
STI-PU [STI] [O]
TS-PU
5V
5 6 7 8
50 50 50 50
PCS0 PCS1 PCS2 PCS3
STI-PU STI-PU TS-PU TS-PU
O O O O
TS-PU TS-PU TS-PU TS-PU
5V 5V 5V 5V
A-12
Am186TMCH HDLC Microcontroller Data Sheet
Table 30. Pin List Summary (Continued)
Signal Name [Alternate Function] {Pinstrap} [PCS4] PIO3 {CLKSEL2} [PCS5] PIO2 [PCS6] PIO32 [PCS7] PIO31 UCS {ONCE} CLKOUT RES RESOUT [UCLK] PIO21 X1 X2 [PWD] [INT8] PIO6 [TMRIN0] PIO27 [TMRIN1] PIO0 [TMROUT0] PIO28 [TMROUT1] PIO1 INTERRUPTS INT0 INT1 INT2 INT3 INT4 INT5 [INT6] PIO19 [INT7] PIO7 [INT8] [PWD] PIO6 NMI 107 109 110 111 112 113 145 146 STI STI STI STI STI STI STI STI-PU [STI] [O] STI STI-PU [STI] [O] STI STI STI-PU [STI] [O] STI -- -- -- -- -- -- 50 50 INT0 INT1 INT2 INT3 INT4 INT5 PIO19 PIO7 STI-PU STI-PU STI-PU STI-PU STI-PU STI-PU STI-PU STI-PU STI STI STI STI STI STI STI-PU [STI] [O] STI-PU [STI] [O] -- -- -- -- -- -- -- -- 5V 5V 5V 5V 5V 5V 5V 5V Pin No. Type Max Load (pF) POR Default Function Reset State POR Default Operation Hold State 5V
9
O STI-PU [STI] [O] STI O STI-PU [STI] [O] O STI-PU [STI] [O] O STI-PU [STI] [O] O STI O ST O STI STI-PU [STI] [O] STI O STI STI STI-PU [STI] [O] STI-PU STI-PU [STI] [O] STI-PU STI-PU [STI] [O] O STI-PD [STI] [O] O STI-PD [STI] [O]
50
PIO3
STI-PU
STI-PU [STI] [O]
TS-PU
5V
10 11 13 132
50 50 50 50
PIO2 PIO32 PIO31 UCS
STI-PU STI-PU STI-PU STI-PU
O STI-PU [STI] [O] STI-PU [STI] [O] O
TS-PU TS-PU TS-PU TS-PU
5V 5V 5V 5V
CLOCKS/RESET/WATCHDOG TIMER 60 114 58 22 73 74 70 -- 50 50 -- -- CLKOUT RES RESOUT PIO21 X1 X2 -- STI H STI-PU -- -- O STI O STI-PU [STI] [O] STI O -- -- -- -- -- -- -- 5V 5V 5V -- --
PROGRAMMABLE TIMERS 147 50 PIO6 STI-PU STI-PU [STI] [O] -- 5V
142 144 141 143
50 50 50 50
PIO27 PIO0 PIO28 PIO1
STI-PU STI-PU STI-PD STI-PD
STI-PU [STI] [O] STI-PU [STI] [O] STI-PD [STI] [O] STI-PD [STI] [O]
-- -- TS TS
5V 5V 5V 5V
147 115
50 --
PIO6 NMI
STI-PU STI-PU
STI-PU [STI] [O] STI
-- --
5V 5V
Am186TMCH HDLC Microcontroller Data Sheet
A-13
Table 30. Pin List Summary (Continued)
Signal Name [Alternate Function] {Pinstrap} HDLC Channel A DCE_RXD_A [PCM_RXD_A] DCE_TXD_A [PCM_TXD_A] DCE_RCLK_A [PCM_CLK_A] DCE_TCLK_A [PCM_FSC_A] [DCE_CTS_A] [PCM_TSC_A] PIO17 [DCE_RTR_A] PIO18 HDLC Channel B [DCE_RXD_B] [PCM_RXD_B] PIO36 [DCE_TXD_B] [PCM_TXD_B] PIO37 [DCE_RCLK_B] [PCM_CLK_B] PIO40 [DCE_TCLK_B] [PCM_FSC_B] PIO41 [DCE_CTS_B] [PCM_TSC_B] PIO38 [DCE_RTR_B] PIO39 UART [RXD_U] PIO26 [TXD_U] PIO20 [CTS_U] PIO24 [RTR_U] PIO25 HIGH-SPEED UART [RXD_HU] PIO16 TXD_HU 25 26 STI STI-PU [STI] [O] O 50 30 PIO16 TXD_HU STI-PU TS-PU STI-PU [STI] [O] O -- -- 5V 5V 158 159 157 156 STI STI-PU [STI] [O] O STI-PU [STI] [O] STI STI-PU [STI] [O] O STI-PU [STI] [O] 50 50 50 30 PIO26 PIO20 PIO24 PIO25 STI-PU STI-PU STI-PU STI-PU STI-PU [STI] [O] STI-PU [STI] [O] STI-PU [STI] [O] STI-PU [STI] [O] -- -- -- -- 5V 5V 5V 5V 138 STI STI STI-PU [STI] [O] OD-O O-LS-OD STI-PU [STI] [O] STI STI STI-PU [STI] [O] STI STI STI-PU [STI] [O] STI OD STI-PU [STI] [O] O STI-PU [STI] [O] 50 PIO36 STI-PU STI-PU [STI] [O] -- 5V 118 119 117 116 STI STI O-OD O-LS-OD STI STI STI STI STI OD STI-PU [STI] [O] O STI-PU [STI] [O] 50 50 -- -- DCE_RXD_A DCE_TXD_A DCE_RCLK_A DCE_TCLK_A STI-PU TS-PU STI-PU STI-PU STI OD-O STI STI -- -- -- -- 5V 5V 5V 5V Pin No. Type Max Load (pF) POR Default Function Reset State POR Default Operation Hold State 5V
HIGH-LEVEL DATA LINK CONTROL SYNCHRONOUS COMMUNICATIONS INTERFACES
123
50
PIO17
STI-PU
STI-PU [STI] [O]
--
5V
122
30
PIO18
STI-PU
STI-PU [STI] [O]
--
5V
139
50
PIO37
STI-PU
STI-PU [STI] [O]
--
5V
135
50
PIO40
STI-PU
STI-PU [STI] [O]
--
5V
134
50
PIO41
STI-PU
STI-PU [STI] [O]
--
5V
137
50
PIO38
STI-PU
STI-PU [STI] [O]
--
5V
136
30
PIO39
STI-PU
STI-PU [STI] [O]
--
5V
ASYNCHRONOUS SERIAL PORTS (UART AND HIGH-SPEED UART)
A-14
Am186TMCH HDLC Microcontroller Data Sheet
Table 30. Pin List Summary (Continued)
Signal Name [Alternate Function] {Pinstrap} [CTS_HU] PIO46 [RTR_HU] PIO47 DEBUG SUPPORT QS0 QS1 [SCLK] PIO11 [SDATA] PIO12 [SDEN] PIO10 RESERVED PINS RSVD_104 RSVD_103 RSVD_102 RSVD_101 RSVD_81 RSVD_80 RSVD_76 RSVD_75 POWER AND GROUND VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC_A VSS VSS 12 27 40 48 59 68 78 82 91 106 120 125 133 148 160 79 77 1 21 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 104 103 102 101 81 80 76 75 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 62 63 O O O STI-PU [STI] [O] O STI-PU [STI] [O] O STI-PD [STI] [O] 30 30 QS0 QS1 TS-PD TS-PD O O -- -- 5V 5V Pin No. Type Max Load (pF) 50 30 POR Default Function PIO46 PIO47 Reset State POR Default Operation STI-PU [STI] [O] STI-PU [STI] [O] Hold State 5V
24 23
STI STI-PU [STI] [O] O STI-PU [STI] [O]
STI-PU STI-PU
-- --
5V 5V
SYNCHRONOUS SERIAL INTERFACE (SSI) 3 4 2 50 50 50 PIO11 PIO12 PIO10 STI-PU STI-PU STI-PD STI-PU [STI] [O] STI-PU [STI] [O] STI-PD [STI] [O] -- -- -- 5V 5V 5V
Am186TMCH HDLC Microcontroller Data Sheet
A-15
Table 30. Pin List Summary (Continued)
Signal Name [Alternate Function] {Pinstrap} VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS VSS_A Pin No. 33 41 53 61 71 83 100 108 121 130 140 155 72 Type Max Load (pF) -- -- -- -- -- -- -- -- -- -- -- -- -- POR Default Function -- -- -- -- -- -- -- -- -- -- -- -- -- Reset State -- -- -- -- -- -- -- -- -- -- -- -- -- POR Default Operation -- -- -- -- -- -- -- -- -- -- -- -- -- Hold State -- -- -- -- -- -- -- -- -- -- -- -- -- 5V
-- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- --
A-16
Am186TMCH HDLC Microcontroller Data Sheet
APPENDIX B--PHYSICAL DIMENSIONS: PQR160, PLASTIC QUAD FLAT PACK (PQFP)
31.00 31.40
Pin 160
25.35 REF
27.90 28.10
Pin 120
Pin 1 I.D.
25.35 REF 27.90 28.10 31.00 31.40
Pin 40 Pin 80 3.20 3.60 3.95 MAX
0.65 BASIC
0.25 Min
SEATING PLANE
16-038-PQR-1 PQR160 12-22-95 lv
Am186TMCH HDLC Microcontroller Data Sheet
B-1
B-2
Am186TMCH HDLC Microcontroller Data Sheet
APPENDIX C--CUSTOMER SUPPORT
AMD-K6TM-2E Microprocessor AMD-K6TME Microprocessor Am5x86(R) Microprocessor Am486(R)DX Microprocessor Am386(R)SX/DX Microprocessors ElanSC300 Microcontroller Am186CC Communications Controller AM186CH HDLC Microcontroller Am186TMCU USB Microcontroller Am186ES and Am188ES Microcontrollers Am186ESLV & Am188ESLV Microcontrollers Am186ER and Am188ER Microcontrollers ElanSC410 Microcontroller ElanSC400 Microcontroller ElanSC520 Microcontroller
ElanTMSC310 Microcontroller
Am186ED Microcontroller Am186EDLV Microcontroller
Am186EM and Am188TMEM Microcontrollers Am186EMLV & Am188EMLV Microcontrollers
80C186 and 80C188 Microcontrollers 80L186 and 80L188 Microcontrollers
-- Microprocessors -- 16- and 32-bit microcontrollers -- 16-bit microcontrollers
E86TM Family of Embedded Microprocessors and Microcontrollers
Related AMD Products--E86TM Family Devices
Device 80C186/80C188 80L186/80L188 Am186TMEM/Am188TMEM Am186EMLV/Am188EMLV Am186ES/Am188ES Am186ESLV/Am188ESLV Am186ED Am186EDLV Am186ER/Am188ER Am186CC AM186CH Am186CU ElanTMSC300 ElanSC310 ElanSC400 ElanSC410 ElanSC520 Am386(R)DX Am386(R)SX Am486(R)DX Am5x86(R) AMD-K6TME AMD-K6TM-2E Description 16-bit microcontroller Low-voltage, 16-bit microcontroller High-performance, 16-bit embedded microcontroller High-performance, 16-bit embedded microcontroller High-performance, 16-bit embedded microcontroller High-performance, 16-bit embedded microcontroller High-performance, 80C186- and 80C188-compatible, 16-bit embedded microcontroller with 8- or 16-bit external data bus High-performance, 80C186- and 80C188-compatible, low-voltage, 16-bit embedded microcontroller with 8- or 16-bit external data bus High-performance, low-voltage, 16-bit embedded microcontroller with 32 Kbyte of internal RAM High-performance, 16-bit embedded communications controller High-performance, 16-bit embedded HDLC microcontroller High-performance, 16-bit embedded USB microcontroller High-performance, highly integrated, low-voltage, 32-bit embedded microcontroller High-performance, single-chip, 32-bit embedded PC/AT microcontroller Single-chip, low-power, PC/AT-compatible microcontroller Single-chip, PC/AT-compatible microcontroller High-performance, 32-bit embedded microcontroller High-performance, 32-bit embedded microprocessor with 32-bit external data bus High-performance, 32-bit embedded microprocessor with 16-bit external data bus High-performance, 32-bit embedded microprocessor with 32-bit external data bus High-performance, 32-bit embedded microprocessor with 32-bit external data bus High-performance, 32-bit embedded microprocessor with 64-bit external data bus High-performance, 32-bit embedded microprocessor with 64-bit external data bus and 3DNow!TM technology
Notes:
1. 186 = 16-bit microcontroller and 80C186-compatible (except where noted otherwise); 188 = 16-bit microcontroller with 8-bit external data bus and 80C188-compatible (except where noted otherwise); LV = low voltage
Am186TMCH HDLC Microcontroller Data Sheet
C-1
Related Documents
T h e f o l l ow i n g d o c u m e n t s p r o v i d e a d d i t i o n a l infor mation regarding the AM186CH HDLC microcontroller. s Am186TMCC/CH/CU Microcontrollers User's Manual, order #21914 s Am186TMCC/CH/CU Microcontrollers Register Set Manual, order #21916 s Am186TM and Am188TM Family Instruction Set Manual, order #21267 s Interfacing an Am186TMCC Communications Controller to an AMD SLACTM Device Using the Enhanced SSI, order #21921 Other information of interest includes: s E86TM Family Products and Development Tools CD, order #21058
UARTs, PCnet-ISA II (AMD's single-chip Ethernet solution), and several other common peripherals. The CodeKit software comes complete with instructions, royalty-free distribution rights, and software in both binary and source code formats.
Third-Party Development Support Products
T h e F u s i o n E 8 6 P r o gr a m o f Pa r t n e r s h i p s f o r Application Solutions provides the customer with an array of products designed to meet critical time-tomarket needs. Products and solutions available from the AMD FusionE86 partners include protocol stacks, emulators, hardware and software debuggers, boardlevel products, and software development tools, among others. In addition, mature development tools and applications for the x86 platform are widely available in the general marketplace.
Am186CC/CH/CU Microcontroller Customer Development Platform
The Am186CC/CH/CU customer development platform (CDP) is provided as a test and development platform for the Am186CC/CH/CU microcontrollers. The Am186CC/CH/CU CDP ships with the Am186CC microcontroller. Because this device suppor ts a superset of the features of the AM186CH HDLC microcontroller, the development platform can be used to evaluate the AM186CH device. The CDP is divided into two major sections: a main board and a development module. The main board serves as the primary platform for silicon evaluation and software development. The board provides connectors for accessing the major communications pe r i ph era l s, sw it ch e s to ea s il y c on fi gu r e th e microcontroller, logic analyzer, and debug headers. The development module, which attaches to the top of the main board, provides ready-to-run hardware for three of the most common communications requirements: s A 10 Mbit/s Ethernet connection s An ISDN connection (with both an S/T and a U interface) s Two POTS interfaces The CDP provides a good starting point for hardware designers, and software development can begin immediately without the normal delay that occurs while waiting for prototypes. The CDP also comes with AMD's CodeKit software that provides customers with pre-written driver software for the major communications peripherals associated with a typical Am186Cx design. Included are drivers for the HDLC channels, USB peripheral controller (for the Am186CU USB microcontroller),
Customer Service
The AMD customer service network includes U.S. offices, international offices, and a customer training center. Expert technical assistance is available from the AMD worldwide staff of field application engineers and factory support staff to answer E86 and Comm86 family hardware and software development questions.
Note: The support telephone numbers listed below are subject to change. For current telephone numbers, refer to www.amd.com/support/literature.
Hotline and World Wide Web Support For answers to technical questions, AMD provides e-mail support as well as a toll-free number for direct access to our corporate applications hotline. The AMD World Wide Web home page provides the latest product infor mation, including technical information and data on upcoming product releases. In addition, EPD CodeKit software on the Web site provides tested source code example applications. Corporate Applications Hotline (800) 222-9323 44-(0) 1276-803-299 Toll-free for U.S. and Canada U.K. and Europe hotline
Additional contact information is listed on the back of this datasheet. For technical support questions on all E86 and Comm86 products, send e-mail to epd.support@amd.com.
C-2
Am186TMCH HDLC Microcontroller Data Sheet
World Wide Web Home Page To access the AMD home page go to: www.amd.com. Then follow the Embedded Processors link for information about E86 and Comm86 products. Questions, requests, and input concerning AMD's WWW pages can be sent via e-mail to webmaster@amd.com. Documentation and Literature Free information such as data books, user's manuals, data sheets, application notes, the E86TM Family Products and Development Tools CD, order #21058, and other literature is available with a simple phone call. Internationally, contact your local AMD sales office for product literature. Additional contact information is listed on the back of this data sheet. Literature Ordering (800) 222-9323 Toll-free for U.S. and Canada
Am186TMCH HDLC Microcontroller Data Sheet
C-3
C-4
Am186TMCH HDLC Microcontroller Data Sheet
INDEX
A
A19-A0 signals, 13 AD15-AD0 signals, 13 address and data bus (AD15-AD0) description, 13 address bus (A19-A0) address bus disable in effect, 29 default operation, 29 ADEN signal, A-7 ALE signal, 13 AM186CH HDLC microcontroller applications, 31 block diagram (microcontroller), 24 DC characteristics, 37 distinctive characteristics, 1 documentation, C-2 general description, 1 I/O circuitry, 36 logic diagram by default pin function, 7 logic diagram by interface, 6 logic diagrams, 6-7 ordering information, 2 overview (architectural), 24 physical dimensions, B-1 pin assignment tables, 10 pin connection diagram, 8 pin tables (Appendix A), A-1 PQFP package, B-1 related AMD E86 family devices, C-1 signal description table, 13 static operation, 35 applications, 31 32-channel linecard system, 32 architectural overview, 24 ARDY signal, 13 asynchronous communications asynchronous ready waveforms, 58 asynchronous serial ports (description), 26 baud clock, 35 High-Speed UART clocks, 35 High-Speed UART signal descriptions, 22 UART signal descriptions, 21
B
BHE signal, 14 block diagram (microcontroller), 24 BSIZE8 signal, 14 bus address bus description, 13 bus hold timing, 59 bus status pins, 16 entering bus hold waveforms, 59 exiting bus hold waveforms, 60 bus interface description, 30 signal list, 13 byte write enables, 30
C
capacitance, 38 CAS1-CAS0 signals, 19 characteristics See DC characteristics. switching characteristics, 40 chip selects description, 30 ranges and DRAM configuration, 13, 19 signal descriptions, 19 CLKOUT signal, 17 CLKSEL1 signal, A-7 CLKSEL2 signal, A-7 clock See also CPU. CLKOUT signal description, 17 clock generation and control, 33 control, 31 crystal parameters, 34 crystal-driven clock source, 34 external clock source, 35 external interface to support clocks, 34-35 features, 33 High-Speed UART clocks, 35 PLL bypass mode, 35 suggested system clock frequencies, clock modes and crystal frequencies, 34 system clock, 33 system interfaces and clock control, 28 UART baud clock, 35
Am186TMCH HDLC Microcontroller Data Sheet
Index-1
CPU Am186 embedded CPU, 25 CPU PLL modes, A-7 system clock, 33 system clock timing waveforms, 62 system clocks timing, 61 crystal crystal-driven clock source, 34 parameters, 34 suggested crystal frequencies, 34 CTS_HU signal, 22 CTS_U signal, 22 customer support documentation and literature, C-3 hotline and web, C-2 literature ordering, C-3 ordering the microcontroller, 2 third-party development support products, C-2 web home page, C-3
DRAM chip selects and DRAM configuration, 13 description, 30 read cycle with wait states waveform, 68 read cycle without wait states waveform, 68 refresh cycle waveform, 70 signal descriptions, 19 timing, 67 write cycle with wait states waveform, 69 write cycle without wait states waveform, 69 DRQ1-DRQ0 signals, 14 DS signal, 14 DT/R signal, 14
E
emulation in-circuit emulator (ICE) support, 31 signals used by emulators, 18 evaluation platform, C-2
D
DC characteristics over commercial and industrial operating ranges, 37 DCE (data communications equipment) DCE interface timing, 65 DCE receive waveforms, 65 DCE transmit waveforms, 65 signal descriptions, 22 DCE_CTS_A signal, 23 DCE_CTS_B signal, 23 DCE_RCLK_A signal, 22 DCE_RCLK_B signal, 23 DCE_RTR_A signal, 23 DCE_RTR_B signal, 23 DCE_RXD_A signal, 22 DCE_RXD_B signal, 23 DCE_TCLK_A signal, 23 DCE_TCLK_B signal, 23 DCE_TXD_A signal, 22 DCE_TXD_B signal, 23 debug debug support signals, 18 DEN signal, 14 derating, 38 DMA (direct memory access) DMA request signals, 14 general-purpose DMA channels, 27 SmartDMA channels, 26 timing waveforms, 54 documentation, C-3
H
halt See software halt. HDLC (high-level data link control) channels and TSAs description, 26 signal descriptions, 22 High-Speed UART signal descriptions, 22 HLDA signal, 15 HOLD signal, 15 hotline and world wide web support, C-2
I
I/O
See also memory. I/O circuitry, 36 I/O space, 25 programmable I/O (PIO), 27 ICE (in-circuit emulator) support, 31 INT8-INT0 signals, 20 interrupts interrupt controller, 27 signal descriptions, 20
L
LCS signal, 19 logic diagram by default pin function, 7 by interface, 6
Index-2
Am186TMCH HDLC Microcontroller Data Sheet
M
MCS3-MCS0 signals, 19 memory See also I/O. memory organization, 25 segment register selection rules, 26 memory and peripheral interface, 28 multiplexed functions signal trade-offs, A-5
N
NMI signal, 20
O
ONCE signal, A-7 operating ranges, 37 ordering information, 2 output enable, 30
P
package PQFP physical dimensions, B-1 PCM (pulse-code modulation) highway signal descriptions, 23 timing (timing slave), 62 waveforms (timing slave), 63 PCM_CLK_A signal, 23 PCM_CLK_B signal, 23 PCM_FSC_A signal, 23 PCM_FSC_B signal, 23 PCM_RXD_A signal, 23 PCM_RXD_B signal, 23 PCM_TSC_A signal, 23 PCM_TSC_B signal, 23 PCM_TXD_A signal, 23 PCM_TXD_B signal, 23 PCS7-PCS0 signals, 19 peripherals memory and peripheral interface, 28 peripheral timing, 54 peripheral timing waveforms, 54 system interfaces, 27
pins See also signals. pin and signal tables, 9 pin assignments sorted by pin number, 10 pin assignments sorted by signal name, 11 pin connection diagram, 8 pin defaults, A-2 pin list summary, A-11 pin tables (Appendix A), A-1 Multiplexed Signal Trade-Offs table, A-5 Pin List Summary table, A-11 PIOs Sorted by PIO Number table, A-8 PIOs Sorted by Signal Name table, A-9 Power-On Reset (POR) Pin Defaults table, A-2 reserved, 18 pinstraps pinstraps table, A-7 PIO47-PIO0 signals, 21 PIOs (programmable I/Os) description, 27 signal descriptions, 21 sorted by pin number, A-8 sorted by signal name, A-9 PLL (phase-locked loop) bypass mode, 35 modes, A-7 PLL bypass (CPU), A-7 system PLL, 33 POR (power-on reset) pin defaults, A-2 power power and ground pins, 18 power consumption calculation, 38 power supply operation, 36 supply connections, 36 supply current, 38 typical ICC versus frequency, 38 PQFP package physical dimensions, B-1 pulldowns, in Pin List Summary table, Type column, A11 pullups, in Pin List Summary table, Type column, A-11 PWD signal, 21
Q
QS1-QS0 signals, 18
Am186TMCH HDLC Microcontroller Data Sheet
Index-3
R
RAS1-RAS0 signals, 19 RD signal, 15 read cycle timing, 47 read cycle waveforms, 49 ready external ready timing, 57 external ready waveforms, 57 RES signal, 17 reserved pins, 18 reset definition of types, 12 power-on reset pin defaults table, A-2 signals related to reset, 56 timing, 55 waveforms, 55 reset configuration pins See pinstraps. RESOUT signal, 17 RSVD_x-RSVD_x pins, 18 RTR_HU signal, 22 RTR_U signal, 22 RXD_HU signal, 22 RXD_U signal, 21
SSI (synchronous serial interface) signal descriptions, 22 synchronous ready waveforms, 57 synchronous serial port, 27 timing, 66 waveforms, 66 static operation, 35 switching characteristics and waveforms alphabetical key, 41 key to switching waveforms, 40 numerical key to switching parameter symbols, 44 over commercial/industrial operating ranges, 47 parameter symbols, 41 system clock, 33 See CPU. system interface, 28
T
thermal characteristics, 39 equations, 39 thermal resistance, 39 timers See also watchdog timer. programmable timers, 27 signal descriptions, 21 timing asynchronous ready waveforms, 58 bus hold, 59 DCE interface, 65 DMA, 54 DRAM, 67 external ready cycle, 57 PCM highway, 62-63 peripheral timing, 54 read cycle timing, 47 reset, 55 software halt cycle, 53 SSI, 66 synchronous ready waveforms, 57 system clocks timing, 61 write cycle timing, 50 TMRIN1-TMRIN0 signals, 21 TMROUT1-TMROUT0 signals, 21 TSAs (time slot assigners) description, 26 TXD_HU signal, 22 TXD_U signal, 21
S
S2-S0 signals, 16 S6 signal, 16 SCLK signal, 22 SDATA signal, 22 SDEN signal, 22 serial communications See also HDLC, UART. asynchronous serial ports, 26 description, 26 SmartDMA, 26 synchronous serial port, 27 signals See also pins. multiplexed signal trade-offs table, A-5 pin and signal tables, 9 pin assignments sorted by signal name, 11 signal descriptions, 13 signals related to reset, 56 SmartDMA See DMA. software halt cycle timing, 53 software halt cycle waveforms, 53 SRDY signal, 16
Index-4
Am186TMCH HDLC Microcontroller Data Sheet
U
UART asynchronous ready waveforms, 58 asynchronous serial ports (description), 26 baud clock, 35 High-Speed UART clocks, 35 High-Speed UART signal descriptions, 22 signal descriptions, 21 UART and High-Speed UART clocks, 35 UART baud clock, 35 UCLK signal, 17 UCS signal, 19 UCSX8 signal, A-7
V
VCC description, 18 VCC_A description, 18 VSS description, 18 VSS_A description, 18
W
watchdog timer description, 28 RES and watchdog timer reset, 17 WHB signal, 16 WLB signal, 16 WR signal, 16 write cycle timing, 50 write cycle waveforms, 52 www home page, C-3 support, C-2
X
X1 signal, 17 X2 signal, 17
Am186TMCH HDLC Microcontroller Data Sheet
Index-5
Trademarks
E 2000 Advanced Micro Devices, Inc. All rights reserved.
AMD, the AMD logo, and combinations thereof are trademarks of Advanced Micro Devices, Inc. Am5x86 and Am386 are registered trademarks, and AMD-K6, 3DNow!, Am186, Am188, Comm86, E86, Elan, PCnet, SLAC, and SmartDMA are trademarks of Advanced Micro Devices, Inc. FusionE86 is a service mark of Advanced Micro Devices, Inc. Other product names used in this publication are for identification purposes only and may be trademarks of their respective companies. Disclaimer The contents of this document are provided in connection with Advanced Micro Devices, Inc. ("AMD") products. AMD makes no representations or warranties with respect to the accuracy or completeness of the contents of this publication and reserves the right to make changes to specifications and product descriptions at any time without notice. No license, whether express, implied, arising by estoppel or otherwise, to any intellectual property rights is granted by this publication. Except as set forth in AMD's Standard Terms and Conditions of Sale, AMD assumes no liability whatsoever, and disclaims any express or implied warranty, relating to its products including, but not limited to, the implied warranty of merchantability, fitness for a particular purpose, or infringement of any intellectual property right. AMD's products are not designed, intended, authorized or warranted for use as components in systems intended for surgical implant into the body, or in other applications intended to support or sustain life, or in any other application in which the failure of AMD's product could create a situation where personal injury, death, or severe property or environmental damage may occur. AMD reserves the right to discontinue or make changes to its products at any time without notice. (c) 2000 Advanced Micro Devices, Inc. All rights reserved.
Am186TMCH HDLC Microcontroller Data Sheet


▲Up To Search▲   

 
Price & Availability of AM186CH

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X